Dan, the problem is that when you save the post meta, it’s using a name that doesn’t exist as you’ve added '_team1ban_1
etc, but the code you’ve linked to looks for inputs named $fields['id']
.
If you want to use the linked framework, I suggest you add them as separate fields. (i.e. three separate select
boxes). Exactly how to do that falls out of the scope of this site, but a quick look at the pastie, it seems you’ll want to add three arrays to the fields
(see line 43 for example).
Related Posts:
- metabox select – frontend display
- Populate meta select box with child pages
- Saving multiple fields (dropdown and text) in custom metabox
- semantic ui dropdown for custom metabox
- How to hide/show meta box using jQuery,if click on Drop-Down Menu
- Create more Meta Boxes as needed
- How to HIDE everything in PUBLISH metabox except Move to Trash & PUBLISH button
- Removing panels (meta boxes) in the Block Editor
- WordPress SEO by Yoast: Hide Meta Boxes in Posts for Non-admins
- How to make open/closed and hidden/shown metaboxes status saved on a per-post basis?
- How To Remove The “+ Add New Category” Link From A Category Metabox
- How can I create a taxonomy meta-box with search suggestions but no new terms input?
- How to Add Reminders/Notes to New Post Meta Boxes
- How to reorder meta box position?
- How do I position meta_box on post edit screen after the title?
- Custom Meta Boxes: multiple fields within a repeatable field
- get registered metaboxes by post type or post ID
- Remove metabox from specific page template in admin
- Is there a filter/action to add content to WP admin metaboxes?
- Attach Files Metabox
- How do I create a meta box for dates?
- Add a meta description to home page?
- How to insert Gallery shortcode to a meta box
- Display list of tags as drop down menu or radio buttons in a meta box?
- How to List all Sidebars in a Metabox
- Set height of the categories meta box in post dashboard
- Get image captions for images on gallery post format metabox
- How do I migrate meta boxes from the Classic Editor to the “side area” in Gutenberg Editor?
- Adding Metaboxes – so much code is there a shorter DRY way?
- I need a Simple image uploader with a simple screen. WP default has too many options.
- Show or hide custom meta box not work with Gutenberg
- TinyMCE with custom buttons on a meta box
- How do i hide the auto-generated custom field that’s created when update_post_meta() is called?
- How to search by metadata using REST API
- Alternative to esc_textarea
- Automatically add a tag according to custom metadata
- How to add categories to page editor?
- Having trouble getting my meta data to save
- Undefined ‘post_type’ error on Add new page
- Display meta box on front end
- Show how many images are attached to a post/page on compose page
- metabox wordpress show in frontend
- Metabox context for page post type
- How to use MarkDown in a custom textarea field?
- How to use get_post_custom function on the blog page?
- Remove ShareDaddy meta box from Pages only
- How to modify Publish metabox?
- On click hide group of metabox, similar to screen options checkbox?
- How to make a stand-alone button to the post edit view
- Controlling Meta Box Height
- Custom Meta box only returns most recent value on page
- wp_editor loses data, perhaps an html_entity_decode problem?
- How to list all tags as radio buttons in a meta box?
- how can i do metabox [closed]
- Create custom taxonomy and Display in metabox dropdown
- How to add meta box for image upload using WordPress media uploader?
- How to position user meta data field
- Display Content if Meta Checkbox is checked?
- add_post_meta() & update_post_meta()
- MetaBox with Editor instead of textarea – html not saved [closed]
- Use meta boxes inside an archive page template for Woocommerce
- Why do Metabox use Nonces?
- conditionally echo in meta box data loop
- Unable to display selected post title in frontend from metabox wp_dropdown_pages()
- Hide Page Title with Post Meta
- Meta Box multi checkbox in template
- Show button if meta box has content, else hide
- remove a single post_meta
- Checkbox in post not saving value
- how to log in to WP if the “Log in” link under Meta is missing
- Select Venue from dropdown list and reuse stored address information in meta_box
- Getting metabox value within a shortcode?
- post meta – problem : copy the same meta for all the articles
- Add metabox to pages that use custom template in WordPress
- how can I make this metabox area
- How to Edit & Update meta_box values from Front-End user Form
- Metabox with checkbox is not working true!
- Displaying a Metabox linked to post settings for all users
- Can’t get meta values to save
- Error when adding Meta Boxes, but only when adding 3 with the same callback
- Is this Edit Post Screen?
- wp_dropdown_pages doesn’t allow me to select more than one custom post type
- use post meta in add_meta_boxes action
- Why is the text displaying, but not the textarea field itself?
- Meta box checkbox won’t save
- Add “Select” For Custom Post Type Metabox
- update_post_meta does not work
- add_post_meta not saved
- Hooking into the Meta Boxes (Name/Web Address/Description) on the ‘Add New Link’ Page
- Save data of select list after clicking save
- WP Alchemy – stripping my paragraph tags from textarea metaboxes
- Adding meta boxes to custom post type
- Meta boxes not showing on custom post type. Blank page?
- dynamically get post attachment while editing
- Remove duplicated values from meta box values
- Setting Event to Expire Using Custom Metabox
- How do I create a Meta box that can be repeated? (with an image section and text area)
- Need help, Passing variables with get_post_meta
- Input select option Change Content in Metabox
- My meta box don’t want to save value