This may be an alternative for you. The Advanced Custom Fields plug in has an Image Field, which allows images to be uploaded and selected. You can set the field to show on your Custom Post Type pages and also integrate a line of code into your template file. You can create as many image fields as needed. Learn more about the Image field here.
Related Posts:
- WordPress metabox file upload in custom post [duplicate]
- Save or update data when custom post published
- How to: add option to add more checkboxes on custom post type
- How to add multiple featured image in meta box in post editor?
- how to set default value for checkbox in wordpress
- Adding Meta Boxes while Registering a Post Type in a Class
- How to use TinyMCE Editor for one of my custom post meta field?
- Adding a metabox on a CPT’s submenu page
- Wrap meta boxes & data handling for specific post types in classes?
- Save Multiple Metabox values
- How to insert data into meta box from another plugin?
- Custom Meta Box returns no HTML
- How to Use Custom Meta Field Instead of CPT Title in Post URL
- Creating alternate meta box context locations
- Is it possible to sort metabox teaxtarea values?
- Create a select metabox that the user can pupolate?
- Wp Meta Query does not work while simple Query Works
- Show a custom post title in another custom post type in Meta box
- WP_List_Table Inside Metabox Not Working on Clicking Search Button
- Getting data from dynamically allocated metaboxes within a custom post
- Admin metabox with custom post type dropdown option not update choosed input after saving
- How save custom meta type posts multicheck grouped by taxonomy (with CMB2) [closed]
- php output of generated custom metabox
- Custom meta box in editor of custom post type not working
- Not Able to Display Metabox Saved Checkbox and Selected option After Save/ Update
- How to consume external API from WordPress post editor and display the response data in the custom field?
- Creating a custom public user page
- Remove custom metaboxes from custom post type
- Add special meta box to custom post type
- Custom field values get deleted
- Adding Custom Metaboxes to Custom Pages
- Insert slider (Custom Post Type) into pages
- WP Query group/order by category name
- Custom metabox translation
- How do I set the link in the Custom Post Type admin menu?
- How to List Thumbnails based on Custom Categories
- Set object terms not working on plugin activation
- Using custom page templates with plugin [duplicate]
- Custom Post Type Metabox – Not Saving
- List of Posts in a Custom Field
- How to add a custom taxonomy to show up in a custom post type menu?
- Add Standard Page Attributes Metabox for Page Parent
- Give a permalink to Custom Post Types without title
- Custom date changer post_date => future – missed schedule error
- Form action/link to render a plugin in WordPress front-end
- How to Create a WordPress Plugin With Custom Post Type/Custom Field Features?
- Translating custom post type metaboxes [closed]
- Global custom meta box
- Add a custom meta box for client to order CPT posts how they want
- Use remove_meta_box conditionally on custom post type
- create custom meta box with default value
- How to add and clear custom post types and taxonomies in a plugin? Considerations for existing data
- post_parent in custom post type
- Issue on Working with Metabox – Checkbox to enable Sale Items
- 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?
- Prevent custom post type from showing up in custom menus
- How do I add custom HTML to the content of an archive page’s posts?
- How to add query args to links to CPT admin submenu
- How to add and display custom content that is not a post
- Odd behaviour for the update button when displaying a WP_List_Table
- Problem with adding custom post type meta to header by plugin
- Custom meta box in custom post type not working
- WP_Meta_Query object with conditionals
- I can’t connect my custom jquery to wp admin
- Saving meta box data?
- Invalid file type when using wp_upload_bits to upload PDF to a custom post type
- Metabox does not show in custom post type
- One Custom Post Type two different Templates
- Include a metabox in the ‘home’ screen of a custom post type? If not, then the dashboard page?
- Limiting Amount of Posts in a Custom Post Type again
- Auto update publish date of CPT Post if default post custom field value match to cpt post CF Value
- Why are custom taxonomies only appearing on the edit page of one of these types, but not the other?
- How can i display a taxonomy? i have created a plugin and then a custom type. and a taxonomy , also i have register it
- URL issue retrieving Custom Post Types using Backbone JS API
- WordPress Custom Post Loop
- How to get custom post type with dynamic ID
- ‘Simple’ Reservation System
- Custom metabox with image gallery upload that won’t attach images to post
- Show Post columns to specific users on condition
- Wp Query sort order from custom MetaBox
- Custom Post type plugin is using theme single.php and style.css
- call a function when insert and update a custom post type
- How to retrieve custom post type permalink in another cpt?
- do action inside a class is not working
- Registering an optional custom post type from a plugin
- 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?
- Generate custom RSS from a plugin
- How to Arrange Support => Thumbnail
- How to add jquery to my custom post type wp plugin
- Custom metabox value not saving
- Yearly Archive from a custom date metabox (Event Start Date)
- loop through custom post-type with two meta_keys
- 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
- Custom Post Type featured option