I will answer myself after some research 🙂
while there might be appropriate ways of coding this with some custom function, for me there’s no need to reinvent the wheel when there’s a neat plugin that does the job
it’s called “advanced custom fields”
http://wordpress.org/extend/plugins/advanced-custom-fields/
it has a “repeater” to let admins add more fields dynamically
it also manages datepicks and fieldsets… basically everything I need!
hope this is helpful to others
Related Posts:
- Cannot save CPT meta box
- what is the correct way to compare dates in a WP query_posts meta_query
- don’t publish custom post type post if a meta data field isn’t valid
- echo value from ‘select’ field type into page template using cmb2?
- Add custom field to media attachment image attribute in post editor
- How to get custom metabox image field?
- Detect meta value changes when post is updated (post_updated)
- Add comments meta fields to comments metabox on post edit screen
- Custom field being erased after autosave
- Order custom posts by a date metabox
- How to select one major category (or custom taxonomy) for a custom post type?
- How to sort CPT by custom meta value (date), and return posts month by month
- Custom Post Type with Custom Title
- How to add a select menu to this metabox code?
- Use Custom Post Type as Custom Field
- Saving multiple Metabox contents
- How can I customize “Pages” admin (edit.php) and “Edit Page” admin (post.php) for bulk edit of custom content type?
- Using ‘strtotime’ function to convert a custom-meta-box to a date-stamp
- Metabox saving values
- Having trouble with custom post type / meta box
- Displaying Meta Box Image
- Multiple information using custom post type
- how to set default value for checkbox in wordpress
- Formatting custom meta box date from YYYY/MM/DD to a more readable alternative
- Community and User Generated Content Website: Have been thinking about Drupal but leaning on WordPress heavily
- Display custom post on home page based on a metabox selection
- Related links – from other sites
- Assigning the same custom meta box to multiple post types
- Why do I lose the content of meta boxes when I leave the page?
- How to insert content from another Custom Post type into Post?
- How can I create a custom meta box to add an mp4 video to a page?
- List of Posts in a Custom Field
- Populate Custom Fields in a Custom Post Type?
- Adding dropdown select meta box to custom post type – seems restAPI is interfering
- Keep display metadata value on backend – Custom Metabox
- How to check if user meta field is empty in conditional else statement
- Why is my select meta data not saving?
- Is it possible to create relational metabox values in a custom post?
- Visual editor issue by having multiple tiny mce editors in a CPT
- Found 2 elements with non-unique id (#_ajax_nonce) and (#_wpnonce)
- A better way to add a meta box to custom post types
- Plugin – Combine Meta Box Input Fields into single saveble record
- Meta Query Filtering not working on Custom Meta Box using Radio Buttons
- Grouping metadatas into one
- Repeatable Fields Metabox with Textarea (or wp_editor)
- How to use TinyMCE Editor for one of my custom post meta field?
- Adding Page Templates to post but it ignored it
- don’t publish custom post type post if a meta data field isn’t valid
- Custom “radio button meta box” not saving correctly
- Custom Post Meta from custom metaboxes is randomly being deleted
- custom post data – how to
- Display Repeatable Meta Box Content
- How to display custom field value on page?
- What do the numbers mean at the end of add_action(‘save_post’)…?
- A meta box (in a custom post type) with two different type of fields
- How to insert data into meta box from another plugin?
- Display custom post type for specific user
- Reusable metabox backend and frontend
- Get custom term meta problem on single post type
- Display custom meta on page that has been check in custom post type
- How can I output WPAlchemy repeating fields meta values in my page template?
- How can I modify a custom post type and custom page template for a child theme if all content seams to be handled by theme’s ‘native’ plugin?
- Need to have an archive widget which organizes and displays a custom post type using a custom date field
- How to hide a custom field from admin?
- Adding an extra parameter [string] to my posts’ permalink?
- CMB select with data from CPT
- Problem On Retrieving Post Meta Data on Custom Column [closed]
- How to keep a record of changes to a custom field?
- Empty meta-box returns publishdate if no value is set?
- Saving metabox keys and storing values as array
- Custom Post Type Meta Box Text Input Field Won’t Save When Blank
- Use Gravity Forms and a Shopping Cart for output to Freshbooks for an Estimate [closed]
- How do I ensure that post_type and Taxonomy use the same slug?
- Custom Post Type meta data getting deleted on bulk editing taxonomies
- Custom Form / Search with Custom Post Type Data
- Adding a location field to buddypress activity
- wp_set_object_terms creates taxonomies but does not add custom posts to it
- How to avoid duplicate posts queried from custom meta?
- Custom Metabox Info Not Saving
- How can I fetch all the dates from custom fields from various different custom post types and show / list them at one place in ascending order?
- PHP Warning with Custom Fields
- Automatic Set Category For A Custom Post Type
- Simple Data picker meta box
- check_admin_referer not working in custom meta box for custom post type
- How to display all custom fields associated with a post type – IN THE ADMIN AREA?
- Avoid another meta box in my custom post type
- Delete custom post type metadata without deleting the post in admin area
- Filter CPT based on meta box value using Flexible Posts widget?
- Problems with a custom meta_box
- How can i display on front page a movie that is atached in a post type
- WP_Query arguments: Loop through custom post type – get all entries except excluded meta_key?
- Custom meta box includes
- Creating entries with image attachements within posts and managing them in a list
- Adding a custom “Add Custom Field” button to Custom Meta boxes
- Display div based on Group metabox selection [closed]
- Exposing custom fields to the user in custom type post
- Creating post custom field text area
- Sort CPT by taxonomy AND THEN by custom field
- How to consume external API from WordPress post editor and display the response data in the custom field?
- Where can I find the missing page sections in wordpress?