Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello,
Thanks for your feedback.
Currently, the builder does not support creating the custom model or assigning the field group to the model. I will inform the development team to consider supporting this feature in future updates.
Peter
ModeratorHello,
You can use the view Type: Code then add the conditional tag to the Code area to check if it is the parent term. For example:
Add this code to the file functions.php in the theme/child theme folder
function check_parent_category() { $current_term_id = get_queried_object_id(); $check_term = get_term( $current_term_id ); if ( $check_term->parent == 0 ) return true; // parent term - display the view template return false; // child term }then add the function name
check_parent_category()to the Code area. Screenshot https://imgur.com/407g1UwRefer to the documentation
https://developer.wordpress.org/reference/classes/wp_term/
https://docs.metabox.io/extensions/mb-views/#typeAugust 23, 2023 at 9:46 PM in reply to: Translate MetaBox Custom Post Type Name and Slug via Polylang #43020Peter
ModeratorHello,
Meta Box Custom Post Types helps you to register the post type with UI instead of using the code to register https://developer.wordpress.org/reference/functions/register_post_type/
I'm not sure how to translate the slug with Polylang, you may try to register the post type with code to see if it works. Or use another translation plugin like WPML to translate the slug.
August 23, 2023 at 9:40 PM in reply to: Warning: The following meta box are not available: "dealer_registration". #43019Peter
ModeratorHello,
It looks like you are adding the meta box (field group) ID "dealer_registration" to an MB User Profile form and the field group is not available or assigned to the User type.
August 23, 2023 at 9:23 PM in reply to: ✅Settings Pages In Customiser Error after last update and other issues #43018Peter
ModeratorHello,
1. The HTML ID "tmpl-rwmb-media-button" is located in the file wp-content/plugins/meta-box/inc/templates/media.php line 47. Please download a fresh copy of Meta Box plugin, install it on your site and recheck this issue.
You can see the code here https://github.com/wpmetabox/meta-box/blob/master/inc/templates/media.php#L47-L492. Deprecated: Automatic conversion of false to array is deprecated
It looks occurs with PHP version 8.1. I'm escalating this issue to the development team to fix it. Thanks.
3. It won't even let me assign the fields to my custom post type - it keep defaulting to 'post'.
Please try to increase the PHP setting
max_input_varsand see if it helps. Read more about the PHP setting in the documentation https://metabox.io/wordpress-custom-fields-not-saving-increase-max-input-vars/August 23, 2023 at 9:07 PM in reply to: ✅Feature request: Confirmation, lost password, etc email templates #43017Peter
ModeratorHello Ville,
Currently, MB User Profile supports 2 email templates: confirmation after registration and reset password. You can override the template by following the documentation https://docs.metabox.io/extensions/mb-user-profile/#email-templates
Peter
ModeratorHello,
>> Can I do this without additional plugin? I bought MB Group.
Yes, it is possible. You can use the code to output the field value and add the specific post/page ID to the third parameter.
rwmb_meta( 'custom_field_id', '', 123 );
where 123 is the post ID. Read more in the documentation https://docs.metabox.io/functions/rwmb-meta/>> how can I hide some fields from some pages?
You can use the plugin MB Conditional Logic to hide some fields on some pages by page ID. Read more in the documentation https://docs.metabox.io/extensions/meta-box-conditional-logic/#toggle-by-other-elements
August 21, 2023 at 10:32 PM in reply to: Condition all of a sudden not working for a single cloneable group #42995Peter
ModeratorHello,
Following the documentation https://docs.metabox.io/extensions/meta-box-conditional-logic/#using-with-group
if the first group field Content Group is a cloneable field, the conditional logic will run inside the clone and its subfields, search for a similar ID and apply the logic.
To fix the issue, you can try to use another field ID for the subfield in thegroup_titlesfield (not including "mode").Peter
ModeratorHello,
The General and Advanced tabs are the default UI settings of all fields. Just in the
groupfield, there is an option to expand/collapse the subfields without opening thegroupfield settings.
Also, when hovering over each element/section, there is a tooltip that tells you what happens when clicking on it.Peter
ModeratorHello,
If you want to display one field value on all pages, please try to use the settings page, it works like the theme options. Please follow the documentation https://docs.metabox.io/extensions/mb-settings-page/
Peter
ModeratorHello,
On my demo site, with Firefox, I need to click Submit button twice in order to submit the post and the validation also does not work. But it works properly when testing with Chrome.
I'm escalating this issue to the development team to check this.Thanks for your details.
August 19, 2023 at 2:59 PM in reply to: ✅Field values are not saving after migrating from ACF Pro #42985Peter
ModeratorHello,
Please check the option "Save field value" if it is disabled. If yes, please enable it and recheck this issue. See this screenshot https://monosnap.com/file/boUvSTyR4Kmm5Ls0wmDiELKehY7Lkb
Peter
ModeratorHello,
It isn't possible. But you can add some text to the post title in the list by using the filter hook
rwmb_post_choice_label. Refer to the documentation https://docs.metabox.io/fields/post/#filtersPeter
ModeratorHello,
I import the field group to my demo site and add your code to the archive template in the theme folder. It displays the category color correctly in the frontend, screenshot https://monosnap.com/file/6yeca0dk42iPDeNiw1pleuGVVTT0L1
You can try to use a default theme of WordPress, deactivate ethe builder, add the code to the archive template of the theme and recheck this issue.
August 18, 2023 at 9:42 PM in reply to: Feature Request: allow duplicating cloneable fields/groups #42978Peter
ModeratorHello,
Currently, Meta Box supports duplicating the fields/subfields with the standard value. It does not support duplicating the current field value. I will inform the development team to consider supporting this feature in future updates.
-
AuthorPosts