Forum Replies Created
-
AuthorPosts
-
March 21, 2024 at 10:13 PM in reply to: Add Select Values from within the Custom Fields Group #44960
Peter
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/#databasePeter
ModeratorHello,
It isn't possible to set a relationship between a custom field and a user. You can set a relation between objects only. They are post, user, term.
Please follow the documentation https://docs.metabox.io/extensions/mb-relationships/March 20, 2024 at 9:36 PM in reply to: ✅Why does the Metabox WP Admin Menu Item show up for users without permissions? #44938Peter
ModeratorHello,
Thanks for your feedback.
To quickly fix this issue, please follow this topic https://support.metabox.io/topic/hiding-meta-box-plugin-from-wordpress-dashboard-menu-for-non-admins/#post-27382
I've escalated this to the development team to fix it in future updates.
Peter
ModeratorHello,
>> Is there a way around allowing the visitor to edit a post when not signed in (guest/visitor)?
No, only the post author can edit the post or the administrator/editor if the post is not assigned to them.
March 20, 2024 at 8:48 PM in reply to: ✅Query CPT with CF value stored in custom table (Bricks Query Editor) #44935Peter
ModeratorHello,
If you want to get the post ID by custom field value in a custom table, please use an SQL query. Following the documentation https://docs.metabox.io/extensions/mb-custom-table/#query-posts-with-wp_query
If you want to apply it in the Bricks builder, please contact their support to get more information.
March 20, 2024 at 8:41 PM in reply to: CPT > When checking "Supports > Editor" custom fields disappear #44932Peter
ModeratorHello,
Please share your site credentials via this contact form https://metabox.io/contact/
I will take a look.March 20, 2024 at 8:29 PM in reply to: ✅It's possible to save custom fields only to custom table bypassing wp_posts? #44931Peter
ModeratorHello,
In the builder, you can use the Before and After settings of custom fields to create a wrapper div. Please check this screenshot https://imgur.com/a/Tk9pBXi
If you use the code, please follow the documentation https://docs.metabox.io/field-settings/
Peter
ModeratorHello,
We don't support this kind of topic in this forum which is used to support technical issues. I will close this one.
Thank you.
March 19, 2024 at 9:01 PM in reply to: CPT > When checking "Supports > Editor" custom fields disappear #44917Peter
ModeratorHello,
Please edit the field group > Settings tab > Position: select After content > Save. If you use the code to register the meta box, please set
contexttonormal.
Following the documentation https://docs.metabox.io/creating-fields-with-code/
and screenshot https://imgur.com/1W4vKgVLet me know how it goes.
Peter
ModeratorHello,
I will inform the development team to consider supporting a filter hook to customize the group title in future updates.
Thank you.
-
AuthorPosts