Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 1,006 through 1,020 (of 3,787 total)
  • Author
    Posts
  • in reply to: Custom function example #47069
    PeterPeter
    Moderator

    Hello 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 myFunction and 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.

    PeterPeter
    Moderator

    Hello,

    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.

    in reply to: AIO 1.31.0 Not Saving Group Fields via API #47059
    PeterPeter
    Moderator

    Hello,

    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.

    in reply to: load post_status into select field #47058
    PeterPeter
    Moderator

    Hello Nick,

    You can use a form hook like rwmb_frontend_after_save_post or the action hook rwmb_{$field_id}_after_save_field to 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-31734

    Following the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#post-actions
    https://docs.metabox.io/actions/rwmb-after-save-field/

    in reply to: 12 Columns not working #47056
    PeterPeter
    Moderator

    Hello 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.

    in reply to: Hide Custom Field Type #47055
    PeterPeter
    Moderator

    Hello 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.

    in reply to: Multiple custom fields in one post type, how to order them? #47054
    PeterPeter
    Moderator

    Hello 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.

    in reply to: Error on Image Advanced + MB Group #47046
    PeterPeter
    Moderator

    Hello,

    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.

    in reply to: There seems to be a lot of issues lately .. why is that? #47044
    PeterPeter
    Moderator

    Hello Zenjukai,

    Please share your demo site admin account by submitting this contact form https://metabox.io/contact/
    I will take a look.

    Thank you.

    in reply to: Show Multiple Clone Fields in Form #47043
    PeterPeter
    Moderator

    Hello 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.

    PeterPeter
    Moderator

    Hello,

    Do you mean "required fields"? So I think it is working correctly.

    in reply to: CPT Blank Screen #47041
    PeterPeter
    Moderator

    Okay, if this happens again, please share the debug log so we can understand what's wrong on your site.

    Thank you.

    PeterPeter
    Moderator

    Hello Marco,

    Do you have any other settings that set the requirement for the file_upload field? A custom code or a custom field setting.
    I just use a simple file_upload field without any specific settings and don't see that issue.

    in reply to: Error on Image Advanced + MB Group #47027
    PeterPeter
    Moderator

    Hello,

    I use the code above to create a group field 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/49B1vCE

    You can try to deactivate all plugins except Meta Box, MB Group, switch to a WordPress theme and check the issue again.

    in reply to: Drag & Drop Issue (or Important Missing Feature Request) #47026
    PeterPeter
    Moderator

    Hello 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.

Viewing 15 posts - 1,006 through 1,020 (of 3,787 total)