Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello,
Can you please share your callback function? I've tested to create a callback function like this
function admin_get_exteriors_from_options() { return [ 'red' => 'Red', 'green' => 'Green', 'blue' => 'Blue' ]; }And it works as well on my local site. Here is the field group generate code:
$meta_boxes[] = [ 'title' => __( 'my custom fields', 'your-text-domain' ), 'id' => 'my-custom-fields', 'priority' => 'low', 'fields' => [ [ 'name' => __( 'Group', 'your-text-domain' ), 'id' => $prefix . 'group_po9o7bashyc', 'type' => 'group', 'fields' => [ [ 'name' => __( 'Select', 'your-text-domain' ), 'id' => $prefix . 'select_34gpvjxnu6a', 'type' => 'select', 'options' => admin_get_exteriors_from_options(), ], ], ], ], ];Peter
ModeratorHello Will,
Which field type you are using? Let me try to reproduce the issue on my local site.
May 5, 2023 at 6:59 PM in reply to: ✅Using show/hide conditional logic with Builder - takes over 1 minute to show #41722Peter
ModeratorHello Dave and Monden,
Please share your exported field group (JSON file) with me via this contact form https://metabox.io/contact/
I will take a closer look.
Peter
ModeratorHello Charis,
Kadence theme/block is not compatible with Meta Box so you can try to use the single_image field instead of image_advanced field.
Peter
ModeratorHello,
The taxonomy field set and get the post terms so if you use many taxonomy fields, they would display the same value. You can use the field taxonomy_advanced to set the post meta. Please read more on the documentation
https://docs.metabox.io/fields/taxonomy/
https://docs.metabox.io/fields/taxonomy-advanced/May 5, 2023 at 6:42 PM in reply to: 'A post type mismatch has been detected.' error when saving custom post type #41718Peter
ModeratorHello,
I'm not sure what causes the issue on your site, you can try to deactivate all plugins except Meta Box, MB extensions, and switch to a standard theme of WordPress to see if it helps.
You can also follow this article to fix this issue https://wordpress.org/support/topic/cannot-add-new-page-or-post-corrupted-db/Peter
ModeratorHello,
MB Blocks is a premium plugin so it is not compatible with WPML currently. And thanks to @inforootscope-co to share a solution, keep up the good work.
May 4, 2023 at 10:26 PM in reply to: Group Fields not showing in Oxygen Builder dynamic data interfface #41708Peter
ModeratorHello,
In case of using Oxygen Builder, please reach out to them if you have any issues with installation, configuration, compatibility, or usage.
Refer to our support policy https://metabox.io/support/topic/support-policy/Peter
ModeratorHello,
You should follow the suggested format of the option when creating them:
value: Label. I think you only add the option like this:0-12 13-17 18-59Now please change it to:
0-12: 0-12 (children) 13-17: 13-17 (teenagers) 18-59: 18-59 (adults)and see if it helps.
May 4, 2023 at 5:32 PM in reply to: ✅Using show/hide conditional logic with Builder - takes over 1 minute to show #41700Peter
ModeratorHello,
Please try to disable all plugins except Meta Box, MB AIO and switch to a standard theme of WordPress then check the issue again.
If you still see that issue, please export the field group to a JSON file and share it here. I will import it to my local site and take a look.
Refer to documentation https://docs.metabox.io/extensions/meta-box-builder/#export--import
May 4, 2023 at 7:54 AM in reply to: How to add a simple Number field in a Metabox Block with MB Builder? #41695Peter
ModeratorHello Dave,
Can you please share some screenshots of the issue on your site? And export the field group to a JSON file then I will import it on my local site and check the issue.
In the builder, you can use the Number field or Text field with validation to create a number field. Please follow the documentation
https://docs.metabox.io/validation/
https://docs.metabox.io/extensions/meta-box-builder/#export--importPeter
ModeratorHello,
For the second issue, you are using the Bricks builder to build the single menu page. So please contact Bricks builder support to ask for further assistance. Refer to our support policy
https://support.metabox.io/topic/support-policy/?swcfpc=1
https://docs.metabox.io/compatibility/May 4, 2023 at 7:36 AM in reply to: Populate Autocomplete Field with saved data from Database #41693Peter
ModeratorHello,
If you use the custom table of Meta Box, the value will display automatically when you edit a post. If you use your custom table, you can try to use the filter
rwmb_{$field_id}_field_metato change the field value before displaying it in the editing form.Please read more on the documentation
https://docs.metabox.io/extensions/mb-custom-table/
https://docs.metabox.io/filters/rwmb-field-meta/Peter
ModeratorHello,
Please share your site credentials via this contact form https://metabox.io/contact/
and a screen record of the issue. I will take a look.Peter
ModeratorHello,
I see you are using a group field to store taxonomy values. Please notice that, using the group field to store values, not for queries. It's very hard to query posts/users by a subfield inside a group, you need to put the taxonomy field as a top field and do query users then.
Please read more on the documentation https://metabox.io/create-group-of-custom-fields-with-meta-box-group/?swcfpc=1#how-does-the-meta-box-group-save-data
-
AuthorPosts