Forum Replies Created
-
AuthorPosts
-
September 4, 2025 at 10:38 PM in reply to: edit model and default values and submission issue #48912
Peter
ModeratorHello,
The fix for this issue is included in the plugin MB Frontend Submission, version 4.5.4. Please ensure that you have this version on your site and recheck the issue.
Peter
ModeratorHello,
Thanks for reaching out.
When editing the View template, you can switch to the User tab and get the user field value, screenshot https://imgur.com/Vrrqdgk. Then use it in an
ifcondition statement. For example:{% if ( user.switch_field_id ) %} do something {% else %} do other thing {% endif %}Peter
ModeratorHello,
I suggest you deactivate all plugins except Meta Box AIO, switch to a WordPress theme, edit the taxonomies > re-save settings to see if it helps.
If not, please share the site admin account via this contact form https://metabox.io/contact/
I will take a look.Peter
ModeratorHello Stefano,
I've tried to reproduce the issue with a clean installation of WordPress and Meta Box AIO 3.0.1 but I still could not see it.
Can you please copy your site to a staging site and share the credentials via this contact form https://metabox.io/contact/ ?
I will help you investigate the issue.Peter
ModeratorHello,
Thanks for reaching out.
I'm afraid that supporting the customization code is beyond our scope of support. However, I think there are 2 notes that you may need to follow:
- the callback function should return an array of values and labels:function callback_func() { return [ 'red' => 'Red', 'green' => 'Green', 'blue' => 'Blue' ]; }- use the
get_post_meta()function to get the field value in the callback function.Refer to this topic https://support.metabox.io/topic/select-function-callback/#post-48783
Peter
ModeratorHello Steve,
Thanks for reaching out.
The integration between Meta Box and WP All Import is maintained on the WP All Import side. So please get in touch with their support to get further assistance.
Following the documentation https://www.wpallimport.com/import-meta-box-fields/Peter
ModeratorHello,
Thanks for reaching out.
Can you please double-check that the field
Slugof all taxonomy entries is not empty? You can go to Meta Box > Taxonomies > Edit a taxonomy and check the slug field.Peter
ModeratorHello,
Please update Meta Box AIO to the new version 3.0.1 and recheck the issue. Let me know how it goes.
Peter
ModeratorHello Nick,
This issue has been fixed in the new version Meta Box AIO 3.0.1. Can you please recheck this on your site?
Peter
ModeratorHello,
Thanks for reaching out.
The frontend form is used to create/edit the post in the frontend. It doesn't support editing the settings page like that.
If you want to edit only one post, you can add the attributeobject_idto the shortcode. For example:[mb_frontend_form id="xyz" post_fields="false" ajax="true" redirect="" object_id="123"]where 123 is the post ID or custom model ID.
What is object_type = post/model (cannot find a description)?You can find the description in the documentation
https://docs.metabox.io/extensions/mb-frontend-submission/#adding-the-submission-form
https://docs.metabox.io/extensions/mb-custom-table/#custom-modelsThat means you can submit a custom model stored in a custom table from frontend, like a post.
Peter
ModeratorHello Chip,
Thanks for your feedback.
Meta Box plugin uses the jQuery validation https://jqueryvalidation.org/email-method/
to validate the email. And I see that the email without an extension is accepted
https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-addressYou can use the basic validation: custom attribute
patternof the field with a custom pattern to validate the email input. For example: https://imgur.com/tjW9xKIand following the documentation https://docs.metabox.io/validation/#basic-validation
September 1, 2025 at 11:17 AM in reply to: custom table deleted, afterwards table is not recreated #48878Peter
ModeratorHello,
Thanks for reaching out.
I tested to create a new field group with some simple fields like text, number ... and see the custom table is automatically created as well.
Can you please export your field group to a JSON file and share it here? I will help you investigate the issue.In the meantime, you can use the PHP code to create a custom table https://docs.metabox.io/extensions/mb-custom-table/#using-custom-tables-with-code
and remove the code after the table is created.Peter
ModeratorHello,
Thanks for reaching out.
I'm afraid that it isn't possible. The tab must be added as a top field, it doesn't work if you add it as a subfield inside a
groupfield.Peter
ModeratorHello,
Twig template engine doesn't support the
switchstatement as PHP. You can use theif elsecode as you do in your code. Refer to Twig documentation https://twig.symfony.com/doc/3.x/tags/index.htmlAnd please note: we don't support the customization code for your specific needs. Please read more about our support policy here https://support.metabox.io/topic/support-policy/
Thank you.
September 1, 2025 at 10:46 AM in reply to: BUG REPORT: Metabox AIO update causes "Draft" labels to vanish for all posts #48875Peter
ModeratorHello,
Thank you for your feedback.
This code causes the issue with the Draft status label for other post types
add_filter( 'display_post_states', [ $this, 'remove_draft_state_label' ], 10, 2 );You can temporarily remove it to fix the issue. I'm going to escalate this issue to the development team to fix it in the next update of Meta Box plugins and support a filter hook so you can add other post types to the list of
$post_typesand show the toggle draft columns for those post types. -
AuthorPosts