Forum Replies Created
-
AuthorPosts
-
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.Peter
ModeratorHello,
There is no permission to favorite a post. A visitor can also favorite a post as well. Following the documentation https://docs.metabox.io/extensions/mb-favorite-posts/
Peter
ModeratorHello Aaron,
The plugin MB Include Exclude supports including or excluding a field group on page loading. If you want to show/hide a field group based on the page template, please use MB Conditional Logic.
Please follow the documentation
https://docs.metabox.io/extensions/meta-box-conditional-logic/#toggle-by-other-elements
https://docs.metabox.io/extensions/meta-box-include-exclude/April 24, 2024 at 10:03 PM in reply to: ✅How to translate MB fields within a MB setting page (with WPML)? #45295Peter
ModeratorHello Adrien,
You can follow the topic below to create custom code to translate the custom fields on a settings page (like theme option)
https://support.metabox.io/topic/wmpl-how-to-translate-option-pages/The premium extensions of Meta Box are not compatible with WPML fully so there isn't an option to translate those fields by default.
April 24, 2024 at 9:46 PM in reply to: MB Block has post meta data and needs to refresh on page update #45292Peter
ModeratorHello,
If you output the post meta field in the block, it won't be triggered updating on save post. Currently, there isn't an option that supports this case. I will inform the development team to explore the possibility.
Peter
ModeratorHello,
1. You can create a custom validation function to validate URL on your own.
2. Use the validation URL with a custom message.
Please follow the documentation https://docs.metabox.io/validation/
Peter
ModeratorHello Tom,
You can try to follow this tutorial to increase the PHP setting
max_input_varsto fix the issue
https://metabox.io/wordpress-custom-fields-not-saving-increase-max-input-vars/Let me know how it goes.
Peter
ModeratorHello,
Thank you for your feedback. This issue has been fixed in this commit https://github.com/wpmetabox/meta-box/commit/c75fb36eb72663a1175b0d2e3fe95b78bd53fc02
and it will be included in the next update of Meta Box. -
AuthorPosts