Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello Hazmi,
I recheck the feature custom function of the extension MB Include Exclude and it still works correctly. Where do you add the custom function
myFunctionand the code to register the meta box? Please try to add all the code to the file functions.php in the theme/child theme folder and check this again.November 29, 2024 at 10:21 PM in reply to: File Upload Issue: Mandatory 2 Files Requirement Despite Configuration #47068Peter
ModeratorHello,
I cannot reproduce the issue on my demo site. If you set required setting for the file_upload field, it only asks you to upload at least 1 file to save the post.
Can you please recheck all the field settings in the builder or in a custom code on your site? If it still asks to upload 2 files, please share your site admin account by submitting this contact form https://metabox.io/contact/
I will take a look.Peter
ModeratorHello,
Thanks for the details. I also see the data is not inserted into the custom table. There could be an issue with the Rest API and custom table in the new version. I will inform the development team to check and fix it soon.
Peter
ModeratorHello Nick,
You can use a form hook like
rwmb_frontend_after_save_postor the action hookrwmb_{$field_id}_after_save_fieldto update the post status based on the custom field value. Here is an example https://support.metabox.io/topic/controlling-post-status-in-front-end-dashboard/#post-31734Following the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#post-actions
https://docs.metabox.io/actions/rwmb-after-save-field/Peter
ModeratorHello Oskar,
The default number of columns is 12. So the setting won't be generated to the PHP code. Actually, it only works if you change the number of columns to a different from 12 then you can see an additional HTML + column class. I see that it works properly and is not an issue with the columns.
Peter
ModeratorHello Nick,
The field type hidden doesn't have the label, it is different from your custom field where you have the field label and input but can show/hide them. You can follow my suggestion above to create a custom checkbox and show/hide the field by JS code.
If you are not able to complete the task, we offer a customization service. Please contact us here https://metabox.io/contact/ for more details.November 28, 2024 at 10:16 PM in reply to: Multiple custom fields in one post type, how to order them? #47054Peter
ModeratorHello Oskar,
As far as I know, it isn't possible. WordPress itself doesn't support an option to set the order of meta boxes when displaying on the editing page. The user can drag and drop meta boxes to change the order as well.
Peter
ModeratorHello,
Then you can deactivate the Image Optimizer plugin when using the cloneable group on the editing page. I will forward this topic to the development team to check the compatibility between Meta Box and Image Optimizer.
November 27, 2024 at 10:45 PM in reply to: There seems to be a lot of issues lately .. why is that? #47044Peter
ModeratorHello Zenjukai,
Please share your demo site admin account by submitting this contact form https://metabox.io/contact/
I will take a look.Thank you.
Peter
ModeratorHello Rebecca,
The cloneable feature doesn't support adding a number of clone entries like that. I will inform the development team to consider supporting this option in future updates.
November 27, 2024 at 10:24 PM in reply to: File Upload Issue: Mandatory 2 Files Requirement Despite Configuration #47042Peter
ModeratorHello,
Do you mean "required fields"? So I think it is working correctly.
Peter
ModeratorOkay, if this happens again, please share the debug log so we can understand what's wrong on your site.
Thank you.
November 26, 2024 at 11:15 PM in reply to: File Upload Issue: Mandatory 2 Files Requirement Despite Configuration #47028Peter
ModeratorHello Marco,
Do you have any other settings that set the requirement for the
file_uploadfield? A custom code or a custom field setting.
I just use a simplefile_uploadfield without any specific settings and don't see that issue.Peter
ModeratorHello,
I use the code above to create a
groupfield and subfields on my local site, add a page and save with some sample value but don't see that issue. Please check these screenshots https://imgur.com/a/49B1vCEYou can try to deactivate all plugins except Meta Box, MB Group, switch to a WordPress theme and check the issue again.
November 26, 2024 at 10:53 PM in reply to: Drag & Drop Issue (or Important Missing Feature Request) #47026Peter
ModeratorHello Peter,
In the latest version of MB AIO 1.31.0 or MB Builder 4.9.7, you can drag and drop a subfield from a group field to another group field or in/outside the group field to be a top field.
-
AuthorPosts