Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello,
No, unfortunately. The actions before and after are available at the field group level. If you want to add something to the field input, please use the filter hook
https://docs.metabox.io/category/filters/March 24, 2024 at 5:09 PM in reply to: WordPress show_admin_bar disabled and remove icons missing #44984Peter
ModeratorHello,
are you saying this is deliberately been hidden as its a group clone?Yes, with the cloneable group, the icon won't display. Instead, the text "Remove" will display when you hover over the group title. Please share a screenshot or a screen record when you hover over the title.
Peter
ModeratorHello Eugene,
Please try following the topic below to customize the value displayed in the admin column
https://support.metabox.io/topic/show-the-frontend-custom-user-profile-image-within-mb-admin-columns/#post-44343then use the WordPress function date_i18n() to display time in localized format.
March 24, 2024 at 5:03 PM in reply to: ✅[Icon field] Display icon (as subfield) by value only? #44982Peter
ModeratorHello,
Thanks for your feedback.
There is an issue with the icon field and our development team is checking the issue. I will let you know when I have more information.
March 22, 2024 at 11:06 PM in reply to: WordPress show_admin_bar disabled and remove icons missing #44969Peter
ModeratorIf you use the cloneable group, there will be a text "Remove" when hovering over the group title instead of the remove icon, screenshot https://imgur.com/9RLfXkS
Peter
ModeratorHello,
If you remove your custom code, does the user see the Meal menu item? I'm not sure exactly what the issue is with capabilities, but you can try to use the plugin User Role Editor to manage the capabilities with UI and check/uncheck some of them.
https://wordpress.org/plugins/user-role-editor/Peter
ModeratorHello Nick,
You can push your custom code to Github and are welcome to share it with other users in the Meta Box group on Facebook https://www.facebook.com/groups/metaboxusers
March 22, 2024 at 10:21 PM in reply to: Custom User Register Form - Errors Upon Validation Checks #44965Peter
ModeratorHello,
If you don't add a value to the field, it will not be passed to the data that is used to register the user and causes the issue.
I see you use the settingrequiredfor the password field so leaving this field empty isn't possible.March 21, 2024 at 10:23 PM in reply to: Bug: Related Records will Not Save When CPT Slug Is Updated and View is Not #44961Peter
ModeratorHello,
Thank you for your feedback.
I'm checking the case and escalate it to the development team. However, changing the CPT slug is not a regular case and might cause many potential issues, not with just Meta Box plugins.
March 21, 2024 at 10:13 PM in reply to: Add Select Values from within the Custom Fields Group #44960Peter
ModeratorHello Raju,
I'm afraid that Meta Box doesn't support this case. You need to add the choices to the select field manually. Or create a custom code on your own to get another field value and populate it to the list of choices.
March 21, 2024 at 10:08 PM in reply to: 404's in Google Search Console with MB Conditionals appended #44959Peter
ModeratorHello Charlie,
MB Conditional Logic only works with fields or elements to show/hide them on the editing page. It doesn't add the variable to the URL like that. Following the documentation https://docs.metabox.io/extensions/meta-box-conditional-logic/
If you have an issue with Bricks template, please contact Bricks support to get further assistance.
March 21, 2024 at 10:05 PM in reply to: WordPress show_admin_bar disabled and remove icons missing #44958Peter
ModeratorHello Nick,
Using the code to remove the admin bar, I don't see the remove clone icon is disabled. It is still there, even checked with a visitor (non-logged-in user). It is only displayed when there are at least two clone fields. Screenshot https://imgur.com/YxSg8VV
Peter
ModeratorHello Nick,
I checked the JS file /meta-box-group/group.js and don't see a specific hook that is triggered when clicking on the remove clone button. You can use the default action "click" with jQuery to run some code when this button is clicked.
March 20, 2024 at 10:50 PM in reply to: ✅[Icon field] Display icon (as subfield) by value only? #44943Peter
ModeratorHello Robert,
If you want to show a subfield value in a cloneable group, please follow the documentation https://docs.metabox.io/extensions/meta-box-group/#getting-sub-field-values
This is an example code:
$group_values = rwmb_meta( 'group_id' ) ?: []; foreach ( $group_values as $group_value ) { $value = $group_value[ $sub_field_key ] ?? ''; echo $value; // Display sub-field value }Peter
ModeratorHello,
The relationship data is stored in the table
wp_mb_relationships. It is noted in the documentation https://docs.metabox.io/extensions/mb-relationships/#database -
AuthorPosts