Forum Replies Created
-
AuthorPosts
-
January 24, 2026 at 2:36 PM in reply to: โ Not sure what I'm running into with MB Groups and some custom fields #49667
Peter
ModeratorHello Sean,
I check the code that you created to output field value in the frontend, and there are some basic issues:
1.
$group_id = "gbr_' . $abbr . '_group";wrong single quotes to get the group field ID. It should be
$group_id = "gbr_" . $abbr . "_group";2.
$img_type = $group[ $field_name ] ?? ''; $image_id = $group[ 'single_mon_image' ] ?? 0;you get the group value with this code
$group_value = rwmb_meta( $group_id, [ 'object_type' => '' ] );but get the subfield value from
$groupvariable. It should be$img_type = $group_value[ $field_name ] ?? ''; $image_id = $group_value[ 'single_mon_image' ] ?? 0;I hope that makes sense.
January 23, 2026 at 10:30 PM in reply to: โ Not sure what I'm running into with MB Groups and some custom fields #49665Peter
ModeratorHello Sean,
Thanks for reaching out.
I'm checking the issue and I will get back to you as soon as I have more information.
Peter
ModeratorHello,
Then I don't have any idea how to trigger an action hook when importing data directly to the database. You can contact TablePlus support and ask them for more information.
Thanks.
January 23, 2026 at 10:27 PM in reply to: Default values not applying for radio and number fields #49663Peter
ModeratorHello Kyle,
Thanks for reaching out.
I'm not able to reproduce the issue on my demo site. The default value of the
radioandnumberfield displayed correctly when I create a new post. Can you please try again with another site or a clean site and see if it helps?Here is my screen record https://drive.google.com/file/d/13SN2e1-TZvrz95IX_zNvZN8fPuISVs25/view?usp=sharing
January 23, 2026 at 10:03 PM in reply to: New block field type causing white screen on full site editor screen #49662Peter
ModeratorHello,
Thank you for your feedback.
I can reproduce the issue on my site. The FSE doesn't work when using a Block editor field. I've escalated this issue to the development team to fix it as soon as possible.
January 22, 2026 at 7:55 PM in reply to: Proper way to increase Meta Box Switch size (Admin / Settings Page) #49656Peter
ModeratorHello Jayron,
Please try this custom CSS code to increase the switch field size and let me know if it helps
.rwmb-switch-label { --size: 30px; }Peter
ModeratorHello,
No, it isn't possible. Meta Box will create input fields in the admin area, the user can fill the fields with values and output values in the frontend. We don't support adding field value on the Cart or Checkout page in the frontend.
Thanks.
Peter
ModeratorHello,
I'm afraid that it isn't possible. The action hook
rwmb_after_save_postwill be triggered after the post is saved. If you want to update the field value with the post ID after importing data with WP All Import, you can try to use their hook to update field value:add_action( 'pmxi_saved_post', function ( $post_id ) { update_post_meta( $post_id, '_my_read_only_field', $post_id ); } );or create an SQL query to update field value manually in the database.
Peter
ModeratorHello,
MB Frontend form doesn't support the
recaptcha_actionsetting. If you want to use a hook to modify the form, please check the available hooks here https://docs.metabox.io/extensions/mb-frontend-submission/#hooks-1Thanks.
Peter
ModeratorHello,
I've escalated the issue to the development team to fix it as soon as possible. I will let you know when I have more information form the team.
Thank you.
Peter
ModeratorHello,
Thanks for reaching out.
There isn't an option to hide a field without using conditional logic. You can use the field
hidden, following the documentation https://docs.metabox.io/fields/hidden/Peter
ModeratorHello,
Please use the option WordPress posts storage (legacy) for order on the settings page WooCommerce > Settings > Advanced > Features, instead of HPOS (High-performance order storage) and recheck the issue.
Let me know how it goes.
Peter
ModeratorHello,
I use your code in my demo site and see that the time field doesn't display the format with second value (ss). Please remove this setting to make it displays the saved value.
'timeFormat' => 'HH:mm:ss',Peter
ModeratorHello,
Meta Box also uses the WordPress function
media_handle_upload()to upload the file to the media library. So you can use the same filter hook to modify the file name. Read more about the hook in the WP documentation
https://developer.wordpress.org/reference/functions/_wp_handle_upload/January 20, 2026 at 10:34 PM in reply to: โ Custom Fields on WooCommerce product page: Problems with Divider and Position #49637Peter
ModeratorHello,
Thanks for reaching out.
I'm not able to reproduce 2 issues as you reported. For the first one, can you please deactivate other plugins except Meta Box, WooCommerce, switch to a WordPress theme and recheck the issue?
For the second one, the position of the meta box is saved to the user meta after it was changed. But you can drag and drop the meta box to move it below the product description. See this screenshot https://imgur.com/1Pj3I4O
-
AuthorPosts