Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello Jacob,
The file class-mb-relationships-facetwp.php is not available in the last version of Meta Box AIO 1.16.10. It is updated in a new commit but is still not released. How did you have this file on your site? Do you activate a single plugin Meta Box FacetWP Integrator with Meta Box AIO?
January 10, 2023 at 10:14 PM in reply to: ✅Added new text field and cannot display in Elementor post template #40183Peter
ModeratorGreat.
Let me know if you have any questions.January 10, 2023 at 10:12 PM in reply to: ✅Schema or Rich Snippets added to Tags and Categories? #40182Peter
ModeratorHello Charlie,
Meta Box does not support adding rich snippets to any page on your site, it just helps you to create custom fields in the backend and output the field value on the frontend. You can try to use a third-party SEO plugin like Yoast, RankMath to add rich snippets to pages on your site.
Peter
ModeratorHello,
If this code output the honor type term name correctly
<h4 class="honor-type">{{ post.vod_honor_type_tax.name }}</h4>then I think you don't need to use the loop to check the term name.
January 9, 2023 at 11:15 PM in reply to: ✅Warnings in frontend if Switch is off or text field is empty in cloneable group #40169Peter
ModeratorHello,
Actually, the empty value of a subfield will not be saved to the database. That's why you see the warning because there is no key (field ID) in the group if the value is empty. To fix this issue, please check the key is existed before assigning it to a variable. For example:
if( array_key_exists( 'gara_contvar_btntxt', $value ) ) { $btn_txt = $value['gara_contvar_btntxt']; }January 9, 2023 at 11:02 PM in reply to: ✅Added new text field and cannot display in Elementor post template #40168Peter
ModeratorHello,
I do not see you add a value for the modal field in a specific post. Can you please save the template and check it on a single post page which you add a modal field value?
Peter
ModeratorHello there,
Please share your site credentials and some screenshots of the issue via the contact form https://metabox.io/contact/
I will help you to troubleshoot the issue.Regarding the user name and email in the support forum, you can go to the My Account page and edit your profile, kindly check this link https://metabox.io/my-account/edit-profile/
January 9, 2023 at 10:50 PM in reply to: ✅Custom field : Taxonomy - Add new term with auto add Term Meta = Current User ID #40166Peter
ModeratorHello there,
1. Supporting a customization code for your specific needs is beyond our scope of support. Please read more here https://support.metabox.io/topic/support-policy/
I think you can use the action hookrwmb_after_save_postorrwmb_after_save_fieldto add your callback function to update the term meta.
https://docs.metabox.io/actions/rwmb-after-save-field/
https://docs.metabox.io/actions/rwmb-after-save-post/2. Please use the setting
query_argsto filter taxonomy by meta value. Please read more on the documentation https://docs.metabox.io/fields/taxonomy/Peter
ModeratorHello Michele,
Thanks for your feedback.
I do not see that issue on my demo site. Please make sure that you have the latest version of Meta Box and other MB extensions, you can check the last version on My Account page https://metabox.io/my-account/.
If the issue persists, please try to deactivate all plugins and leave Meta Box, MB extensions activate and switch to a standard theme of WordPress then check the issue again.Let me know how it goes.
Peter
ModeratorHello Dan,
Can you please export the field group to a JSON file and share it here? And please share some screenshots when you add the block in the admin area, I will test the code on my local site.
Please read more on the documentation to know how to export a field group https://docs.metabox.io/extensions/meta-box-builder/#export--import
Peter
ModeratorHello there,
It's not a possibility of Twig, it's how you create your conditional code to output the value. I add the code below for example.
{% for item in post.vod_honor_type_tax %} {% if item.name == 'somthing' %} <h4 class="honor-type">{{ item.name }}</h4> <h1 class="honoree-name">{{ post.vod_honoree_names }}</h1> <h4 class="class-of">class of {{ post.vod_class_of_tax.name }}</h4> {% else %} something if false {% endif %} {% endfor %}To understand how to use Twig, please read more on the documentation https://docs.metabox.io/extensions/mb-views/#twig
Peter
ModeratorHello Jeremy,
The field type custom_html does not save the field value so it does not work in your case. I think you can create a custom field type to accomplish the task. Please read more on the documentation
https://docs.metabox.io/creating-new-field-types/January 7, 2023 at 5:50 PM in reply to: ✅Radio and Switch fields always reporting first choice value in Title Group #40151Peter
ModeratorHello Luca,
Thank you for your feedback.
I've escalated this issue to the development team to fix it in the next update. Let me know if you have any questions.
Peter
ModeratorHello,
You are in the loop to get the post. So you need to get the author of the post first and then get the meta of the author. Please check this WordPress function
https://developer.wordpress.org/reference/functions/get_the_author/January 6, 2023 at 11:19 PM in reply to: ✅Predefined Values for Textareas / HTML-Code for Textfield #40144Peter
ModeratorHello,
Thanks for clarifying it. The setting
datalist(Predefined values) is only supported for the text field. It means nothing to support this setting for thetextareafield where you need to add more texts to the area. -
AuthorPosts