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
- Help Creating a Slideshow Custom Post Type with Custom Meta Boxes?
- don’t publish custom post type post if a meta data field isn’t valid
- How to force one column layout on custom post type edit page?
- Search multiple custom fields by using meta_query
- Custom Post Type – Taxonomy Dropdown Menu?
- How can I add a column/s to wp_posts table?
- echo value from ‘select’ field type into page template using cmb2?
- 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
- 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?
- Displaying Meta Box Image
- how to set default value for checkbox in wordpress
- Assigning the same custom meta box to multiple post types
- How to insert content from another Custom Post type into Post?
- WordPress custom meta field for custom post not storing data
- How to Duplicate (multiple meta box)?
- window.send_to_editor and jQuery .attr() conflicts with multiple custom upload image meta boxes
- How to structure a site with product variations pages?
- Save an array from drop-down in custom meta box
- 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?
- dynamically add a custom field or metabox to custom post type [duplicate]
- Is it possible to create relational metabox values in a custom post?
- Visual editor issue by having multiple tiny mce editors in a CPT
- 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
- Adding Page Templates to post but it ignored it
- Permalinks: custom structure for taxonomy – tags?
- 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
- How to customize work area / admin area in a custom post type without plugins?
- 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?
- 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]
- Add a class to post_class if more than one post shares same meta_value_num
- How to keep a record of changes to a custom field?
- Add a meta field to the list of results for a custom post type
- 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]
- Placing Admin Post Metaboxes in Tabs
- 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
- Problem with multi checkboxes value in metabox?
- Automatic Set Category For A Custom Post Type
- How to Disable option of meta field if that option is selected for any other post in 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 display *block number* instead *date value* on WordPress posts?