I assume the #feed
element is the one in which you want the count value to appear? If so, change the #bgnp_metabox_tabs
entry in your keyup function to #feed
.
EDIT:
For some reason, I wasn’t seeing all the code when I first read the problem.
The id of your placeholder for the character count is the same as the id on which you are calling the after
function. I would change the placeholder id to something like char-count
.
You can then target that placeholder with jQuery(#feed #char-count)
to get it to be shown only on the feed tab (assuming the feed tab has an id of #feed
)
Related Posts:
- Add a Meta Box for uploading a SECOND Featured Image?
- Remove the Yoast SEO Post Metabox [closed]
- Sample code for validating custom metabox?
- One metabox for multiple post types
- How to add a class to meta box
- Has anyone successfully integrated qtranslate with custom metaboxes?
- Use meta box drag and drop to order items independently
- inside a metabox
- Add Meta box Befoure Post Title
- Editing the Default Links like “Site Admin” in the Sidebar Meta Section?
- Editing Screen: Make Update or Publish Button Follow The Page
- Custom “Publish” / “Update” button &
- Why can’t I hook into save_posts after admin_init?
- Meta Boxes in Front End Post Submission Form
- Remove a plugin meta box from the dashboard
- Custom meta box shown when template is chosen [duplicate]
- Modifying the main editor priority
- How to make a meta box field a requirement
- Adding uploaded images to editor from metabox instead of default popup uploader
- Choosing a default page tempate (Classic => Gutenberg)
- How to remove the RichText Meta Box
- Replace the Post Excerpt Meta Box with a Field in My Custom Meta Box
- How to show post format gallery metabox image caption in the post front end
- Get image captions for images on gallery post format metabox
- Metabox of one post influence setting on other
- Display Single Attachment Image file size, uploaded date, resolution, file-name etc in Sidebar
- Remove a metabox registered by another plugin – Woocommerce [closed]
- Possible to limit custom meta boxes depending on what page template is used?
- I need a Simple image uploader with a simple screen. WP default has too many options.
- Show or hide custom meta box not work with Gutenberg
- I’m confused about URL sanitization in meta boxes
- unable to save post meta on single field with multiple selects
- Add Slug Metabox to posts for contributors
- Hide meta box based on post format
- TinyMCE with custom buttons on a meta box
- How do i hide the auto-generated custom field that’s created when update_post_meta() is called?
- WPAlchemy: How to output values?
- How to search by metadata using REST API
- save_post not working with attachments
- get $post (object,parts/values) in meta-box
- Automatically add a tag according to custom metadata
- How to get meta box values – WP tuts tutorial
- Change Metabox Title
- Having trouble getting my meta data to save
- Display meta box on front end
- add wp_editor to custom_meta_box
- Show how many images are attached to a post/page on compose page
- Show Meta Box On Specific Page Template
- Remove ShareDaddy meta box from Pages only
- Adding meta box without add_meta_box – is this bad?
- How to make a stand-alone button to the post edit view
- saving data entered into a Metabox into an array? for use with for/each output.
- Cusotm MetaBox content not getting saved
- How to get the meta box name and value
- My custom write panels won’t save data. What am I missing?
- How to list all tags as radio buttons in a meta box?
- How to position user meta data field
- How to create a button click counter meta box?
- Display Content if Meta Checkbox is checked?
- meta box & callback function
- $_GET & $post_ID
- add_post_meta() & update_post_meta()
- get_post_meta as a list for drop down search filter
- add_post_meta | update_post_meta | Via the frontend
- Why do Metabox use Nonces?
- multi custom fields and taxonomy search
- Migrating from metaboxes to wp_editor()
- conditionally echo in meta box data loop
- Front end post and upload file, image for users without plugin
- Meta Box multi checkbox in template
- Dynamic number of fields in a meta box
- How to make a metabox that contains link categories?
- how to log in to WP if the “Log in” link under Meta is missing
- Echo 2 values from one key in Array with get_post_custom
- Getting metabox value within a shortcode?
- meta box pop up upload button wont work
- Add metabox to pages that use custom template in WordPress
- How to Edit & Update meta_box values from Front-End user Form
- Is this Edit Post Screen?
- Meta Box – Javascript Datatable
- Metabox on a custom page – How to include the appropriate default scripts and styles?
- custom metabox nonce verification fails
- Extensible add_meta_box with apply filters
- Generating image sizes when uploading through wp.media
- Meta box checkbox won’t save
- Add “Select” For Custom Post Type Metabox
- Set post title to same value as a tow meta box
- add_post_meta Adds post meta but the value is blank
- Best practices for meta box placement?
- Echo order box (in pages)
- WP Alchemy – stripping my paragraph tags from textarea metaboxes
- Tags meta box don’t show when creating a new post type
- dynamically get post attachment while editing
- Remove duplicated values from meta box values
- Remove Title, Editor and Meta Box Support Based on Post Formats
- Custom select box meta field
- Metadata in loops
- Saving an upload media meta box field
- Conditonally check if Custom Meta Box has input
- My meta box don’t want to save value