Forum Replies Created
-
AuthorPosts
-
April 30, 2024 at 11:19 PM in reply to: WooCommerce High-Performance Order Storage (HPOS) Support and Compatibility #45350
Peter
ModeratorHello,
The WooCommerce HPOS uses an admin page to show the data instead of the standard editing post page and Meta Box custom field isn't compatible with HPOS to show the field on that page. I will inform the development team to consider supporting this feature in future updates.
Thank you.
Peter
ModeratorHello,
Please share your site admin account by submitting this contact form https://metabox.io/contact/
I will take a look.Peter
ModeratorHello,
I see you are using Bricks Builder to output the field value, that might be the issue. Please try to use the helper function
rwmb_meta()or helper shortcode[rwmb_meta]to output the field value without the builder and check the issue again.
https://docs.metabox.io/functions/rwmb-meta/
https://docs.metabox.io/shortcode/April 30, 2024 at 10:56 PM in reply to: Create a database table on registering a custom post with metabox #45347Peter
ModeratorHello,
If you want to save the post type in a custom table, you can try to use the custom model of Meta Box. Please follow the documentation https://docs.metabox.io/extensions/mb-custom-table/#custom-models
If not, there isn't a way to make custom fields of Meta Box work with your custom post type.
Peter
ModeratorHello,
To simplify, please output the subfield value with this code
foreach($attr['data']['modules'] as $module) { echo $module['price']; }if it still doesn't work, please share your site admin account by submitting this contact form https://metabox.io/contact/
I will take a look.Peter
ModeratorThanks, Juan. You are correct. It's the standard feature of WordPress, not Meta Box. There is a hint next to the slug, about the characters exceeding, screenshot https://imgur.com/NuavWwD
I will inform the development team to add an error message when the characters exceed 20.
Peter
ModeratorHello Travis,
What is the WordPress version on your site? Please update WP to the new version 6.5.2, deactivate all plugins except Meta Box, MB extension plugins, switch to a WordPress theme and check the issue again.
Peter
ModeratorHello Johannes,
What is the sub field type that you are using in a cloneable group? And how do you output the subfield value? I test with a WYSIWYG subfield and see the value is output properly. Screenshot https://imgur.com/Ritp8wX
function my_hero_callback( $attributes, $is_preview = false, $post_id = null ) { // Fields's data. if ( empty( $attributes['data'] ) ) { return; } $groups = $attributes['block_group']; foreach ( $groups as $group ) { echo '<p>' . $group['group_content'] . '</p>'; } }Peter
ModeratorHello Yasmine,
I don't see that issue on my demo site. Please export the field group to a JSON file and share it here. I will help you check the issue
April 26, 2024 at 11:54 PM in reply to: Wysiwyg editor in Blocks not have Tab to change mode html or Visual #45326Peter
ModeratorHello,
Please share your site admin account by submitting this contact form https://metabox.io/contact/
I will take a look.Peter
ModeratorHello Johnson,
By default, the value added to the Meta Box fields will be sanitized. If you want to add HTML code to a field like
textarea, please follow the documentation to bypass the sanitization of the field.
https://docs.metabox.io/sanitization/#bypass-the-sanitizationApril 26, 2024 at 11:29 PM in reply to: ✅How to translate MB fields within a MB setting page (with WPML)? #45323Peter
ModeratorYes, our development team is working with the WPML dev team to make both plugins compatible. Hopefully, the compatibility will be released soon.
Let me know if you have any questions. Thanks.
April 26, 2024 at 11:23 PM in reply to: Taxonomy (Author) fields not showing on Custom Post Type preview #45322Peter
ModeratorHello,
The function get_the_terms() returns an array of terms, you should use the loop to iterate through the array to get each term ID.
Also, you should use the single quote to wrap the field ID in the helper function and use the second parameter to get the term meta.
rwmb_meta( 'writer_first_name', { object_type: 'term' }, term.ID )Following the documentation https://docs.metabox.io/extensions/mb-term-meta/
If you cannot complete the task, we offer a customization service with an extra fee. You can submit the contact form with the details, our development team will get in touch with you shortly.
https://metabox.io/contact/April 25, 2024 at 10:26 PM in reply to: Wysiwyg editor in Blocks not have Tab to change mode html or Visual #45315Peter
ModeratorHello,
The WYSIWYG field in a block setting on my site shows the tabs properly, here is the screenshot https://imgur.com/81m4LfW
You can try to deactivate all plugins except Meta Box, MB extensions, switch to a WordPress theme and check the issue again.
And currently, we don't support dowloading older versions of premium extensions. Only the newest version is supported.
Peter
ModeratorHello,
Please share your site credentials by submitting this contact form https://metabox.io/contact/
I will take a look. -
AuthorPosts