I created and managed my own custom meta fields for years and I can tell you it was always a headache. I frequently came up against stumbling blocks like yours and ended up banging my fist against the wall. I’ve also worked on quite a few sites which had been flooded with plugins, sometimes so many that it soured me on plugins altogether and I resolved to use them only when absolutely critical to a project.
One of the only reliable plugins I came across was Advanced Custom Fields. I’ve used it on almost every project since first trying it out and it’s truly expanded the possibilities of all my projects. It really organizes fields quite nicely and for $25 they also have a repeatable field add-on which I’ve become quite familiar with.
Give them a shot.
Related Posts:
- Passing error/warning messages from a meta box to “admin_notices”
- Add “upload media” button in meta box field
- get registered metaboxes by post type or post ID
- How to get meta box data to display on a page
- esc before saving or before displaying does it matter?
- Block metabox – No expanding, no moving around
- Add a meta description to home page?
- Check if meta key value already exists
- get_post_meta doesn’t work
- Metabox of one post influence setting on other
- How to store multiple input values with same meta_key
- Consolidate Metaboxes into 1 Big Metabox
- unable to save post meta on single field with multiple selects
- metabox upload file
- Why is variable value emptry in $_POST but available in $_REQUEST?
- Why does get_post_meta not work with the posts page?
- Trigger JS in custom meta box if a featured image is loaded/exists
- How to get meta box values – WP tuts tutorial
- Change the post date from a meta box
- update_post_meta and get_post_meta not working
- how to save multiple checkboxes value in wordpress dynamically
- Using WYSIWYG In custom meta boxes
- Multiplicate entry on update_post_meta
- Undefined index error in custom post metabox
- Resetting admin post form on JS validation fail
- Custom Meta box only returns most recent value on page
- How to prevent further updates of custom meta when using actions to set one meta based on another
- How to create a button click counter meta box?
- meta box & callback function
- $_GET & $post_ID
- get_post_meta as a list for drop down search filter
- Parse a text area custom meta box and assign as value to existing meta keys
- Getting metabox value?
- Hide Page Title with Post Meta
- Save meta data with post, Without using any plugin [closed]
- Editor meta box Showing but not saving
- How can i get multi checkboxes value in metbox?
- Show value of select dropdown in meta box
- remove a single post_meta
- Echo 2 values from one key in Array with get_post_custom
- save radio button selection in post-meta on submit
- post meta – problem : copy the same meta for all the articles
- Custom Meta Data is not being saved
- Update Post Meta in Front End with a form
- Update Post meta with custom variable
- get_post_meta not working on my custom-function page
- update_post_meta doesn’t work
- Removing Meta Generator
- Meta Box – Javascript Datatable
- Only allow one meta key value per post in a category
- use post meta in add_meta_boxes action
- Custom meta box not saving values of radio buttons in WordPress
- Can’t save drop down select date in meta boxes
- update_post_meta does not work
- add_post_meta not saved
- when saveing $meta_box i get Undefined index error
- Updating post meta and Meta Box plugin
- Related posts and custom meta_box?
- Select Options Meta Data is Not Updating in Edit Meta Box
- How to display meta box data using “Meta boxes as needed”
- Metadata in loops
- Allow iframe in custom meta box
- Calling Data from Custom Meta Box
- How can i remove blank area caused by theme’s post meta boxes?
- Datepicker altField and altFormat to save a new meta key/value in a post?
- My meta box don’t want to save value
- CPT posts in drop downed in meta box on page doesn’t return post ID
- Hiding a theme’s meta box
- post-excerpt not one of the options under screen options
- Using radio button meta data from a custom meta box
- Formatting custom meta box date from YYYY/MM/DD to a more readable alternative
- Metabox Data not being saved [closed]
- Options to get my custom post type metadata via the WordPress API
- How to add a SAVE button to replace PUBLISH on a custom post type?
- Convert textarea with wp_editor
- Get all meta boxes values
- special characters after saving draft interpreted as �
- Decide Metabox Configurations for All Users
- metabox select – frontend display
- Set default post author to none on new post
- how to save and get selected item id list with add_meta_box
- Remove anchor tag from meta box link
- Create more Meta Boxes as needed
- Add a meta box to ALL Pages
- How to I retrieve the ID from the Posts page?
- create custom meta box with default value
- Issue on Working with Metabox – Checkbox to enable Sale Items
- Add metabox without the container
- HTML Table creator in metabox to put into post theme
- Meta field bulk editing no longer working in WP 6.0 [closed]
- How to ‘clone’ select metabox options with a callback function? [closed]
- Save, update, get and sanitize post meta as HTML not plain
- Why does my media selection script write to ONLY the first input field?
- WordPress AJAX load post metadata in modal
- Edit post meta direct from post.php?
- Looking for suggestions on creating simple database (Help!!)
- Ridiculous problem with CDATA [duplicate]
- Video slideshow
- why esc_url not working in smartmetabox
- Use a Variable in update_post_meta as the $meta_key