Figured it out! I didn’t have the javascript code wrapped with the following:
jQuery(document).ready( function($){ });
Related Posts:
- Add metabox with media uploader in a custom post type [duplicate]
- Remove tabs from media uploader for a CPT
- Calculate Repeater Meta Box Input Field Values and Display Total
- How to create a repeatable / reusable divs in the metabox?
- window.send_to_editor and jQuery .attr() conflicts with multiple custom upload image meta boxes
- Duplicate Custom Header Functionality into the post edit screen
- Push metadata in array
- WordPress 3.5 Media Uploader – Only allow 1 upload and certain file types
- How to Create an Image Upload Box for Custom Posts?
- Plugin – Combine Meta Box Input Fields into single saveble record
- Checking if $_FILE isset for an array of file upload metaboxes
- Custom Meta Box Causing Error: “Are you sure you want to do this? Please try again.”
- Create a custom post type for a photo post
- Invalid file type when using wp_upload_bits to upload PDF to a custom post type
- wp_dropdown_categories in custom post type with custom taxonomy
- How can I add a column/s to wp_posts table?
- How can I fix those issues generated by the Themecheck plugin
- Add special meta box to custom post type
- Custom field values get deleted
- Priority of Meta Box for Custom Post Type
- Using ‘strtotime’ function to convert a custom-meta-box to a date-stamp
- How to Change the Title of a Meta Box on a Specified Custom Post Type? [duplicate]
- How to save the checked boxes?
- add_meta_box: Datepicker like the one for postdate?
- Save or update data when custom post published
- Custom metabox translation
- How do you use JavaScript to detect the homepage
- Custom Post Type Meta Boxes
- How to add multiple featured image in meta box in post editor?
- Adding Meta Boxes while Registering a Post Type in a Class
- Metabox Populated with a Custom Post Type – How to Output CPT based on Select?
- Is it possible to create a post using a metabox?
- Custom Post Type Metabox – Not Saving
- How to Duplicate (multiple meta box)?
- List of Posts in a Custom Field
- Force documents to appear in Featured Image dialogue
- Storing posts from query and accessing later via AJAX call
- Add Standard Page Attributes Metabox for Page Parent
- dynamically add a custom field or metabox to custom post type [duplicate]
- Custom date changer post_date => future – missed schedule error
- Custom Post Type Video – Online/Offline
- Display correctly using metabox.io
- Translating custom post type metaboxes [closed]
- How to Add multiple instance of meta box to custom post type
- frontend image post uploader
- Multiple Frontend Filters Using Advanced Custom Fields
- How to: wordpress job listing and candidates details
- Global custom meta box
- Add a custom meta box for client to order CPT posts how they want
- Combine multiple getEntityRecords calls
- Custom Post Type Slick Slider “$ is not a function”
- Use remove_meta_box conditionally on custom post type
- create custom meta box with default value
- Issue on Working with Metabox – Checkbox to enable Sale Items
- wysiwyg editor don´t export paragraph
- How to make a meta box?
- Forms and WordPress Nonce
- Why do I have to press the “Update” button twice to save my meta box values?
- Inefficient Query Confusion
- Prevent custom post type from showing up in custom menus
- Odd behaviour for the update button when displaying a WP_List_Table
- Creating alternate meta box context locations
- Custom meta box in custom post type not working
- Multiple wp_editor instances in custom post type using Ajax
- WP_Meta_Query object with conditionals
- I can’t connect my custom jquery to wp admin
- Saving meta box data?
- Add a meta field to the list of results for a custom post type
- Metabox does not show in custom post type
- One Custom Post Type two different Templates
- How do you make relational post types in WordPress? [duplicate]
- Include a metabox in the ‘home’ screen of a custom post type? If not, then the dashboard page?
- Placing Admin Post Metaboxes in Tabs
- Create a Dropdown Selector and Redirect for a Custom Taxonomy in WordPress?
- URL issue retrieving Custom Post Types using Backbone JS API
- How to get custom post type with dynamic ID
- How to use posts as tabs in a custom page?
- Hide the update button from edit view in wordpress custom post type
- Custom metabox with image gallery upload that won’t attach images to post
- Problem with multi checkboxes value in metabox?
- Wp Query sort order from custom MetaBox
- How to make sure, that only the selected post is changing?
- How to retrieve custom post type permalink in another cpt?
- Custom Upload Directory for Custom Post Types
- do action inside a class is not working
- How to add a custom meta box below publish box in CPT that is like publish meta box and can contains html?
- Search form to find custom meta box generated data
- Edit post meta direct from post.php?
- How to Arrange Support => Thumbnail
- Add different meta box based on taxonomy
- Custom metabox value not saving
- Yearly Archive from a custom date metabox (Event Start Date)
- Need to build custom metabox select prev posts by category
- Customized featured image doesn’t refresh in post admin metabox after upload/insert
- loop through custom post-type with two meta_keys
- Allow authors to create article image
- Custom Post Type + Custom Meta Query Not Showing 2012 Posts
- CPT Template Option to Top
- Use a Variable in update_post_meta as the $meta_key
- Changing upload directory and migrating old attachments