Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi Jo,
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.
Long Nguyen
ModeratorHi Richard,
Thanks for your feedback.
I'm going to inform the development team to consider improving the field appearance to be compatible with the screen reader feature in future updates.
Long Nguyen
ModeratorHi Michael,
I do not see the benefit when you add more Questions and Answers on a FAQ post but just show one on the frontend.
If the Questions and Answers are related to the FAQ post, you can just show all Q&A on the frontend with the code by following the documentation https://docs.metabox.io/extensions/meta-box-group/
I think Bricks builder will not help in this case because it will not work with the cloneable group, you can try to use Elementor or Oxygen builder.
If you still want to create more Q&As and show one or some on the frontend, you can try to create a checkbox field and a sample label like "Show on the frontend". Then create an if statement to check this field value before outputting the Q&A.
https://docs.metabox.io/fields/checkbox/October 7, 2022 at 12:49 PM in reply to: ✅Metabox Elementor Integrator plugin crashes site if metabox plugin not activ #38575Long Nguyen
ModeratorHi,
Thank you for your feedback.
I've escalated this issue to the development team to fix it in the next update.
Long Nguyen
ModeratorHi,
Please share some screenshots when you edit these posts (68 and 143) and check the table
wp_mb_relationshipsin your database if it has a relationship.You can also try to add this code to the file functions.php in the theme folder and run it once then check the relation again.
MB_Relationships_API::add( 68, 143, 'registration-partner', $order_from = 1, $order_to = 1 );October 7, 2022 at 12:20 PM in reply to: How to set taxonomy terms from multiple taxonomy fields #38573Long Nguyen
ModeratorHi,
The
taxonomyfield only works when you set it as a top field, it does not work as a subfield in a group or a field in a custom block.
You need to use the fieldtaxonomy_advancedto save the post meta and use that value to update the post terms.Please read more on the documentation https://docs.metabox.io/fields/taxonomy-advanced/
https://docs.metabox.io/fields/taxonomy/Long Nguyen
ModeratorHi Cees,
Please follow this documentation to know how to use
query_argsin the builder https://docs.metabox.io/extensions/meta-box-builder/#dot-notationLong Nguyen
ModeratorHi Cees,
I remember you created another topic with the same question. Please find it here https://support.metabox.io/topic/help-needed-for-using-query-args-at-relationships
Long Nguyen
ModeratorHi Michael,
It looks like you are using a cloneable group with subfields Question and Answer. The group is used to store data, not for querying, so it is very complicated to query posts FAQ by subfield value. Please read more here https://metabox.io/create-group-of-custom-fields-with-meta-box-group/?swcfpc=1#how-does-the-meta-box-group-save-data
If you want to query posts by the custom field value (top field), please follow this article https://metabox.io/get-posts-by-custom-fields-in-wordpress
Long Nguyen
ModeratorHi Mark,
Thanks for reaching out.
The article only mentions outputting field values by using Twig (View template). You can follow our documentation to know how to output field values by using PHP code https://docs.metabox.io/displaying-fields-with-code/
Long Nguyen
ModeratorHi Daniel,
You can use this filter hook
rwmb_frontend_dashboard_delete_actionto remove the delete button in the frontend dashboard. For example:add_filter( 'rwmb_frontend_dashboard_delete_action', function( $delete_action, $post_id ) { $delete_action = false; return $delete_action; }, 10, 2 );Read more on the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#dashboard-hooks
Long Nguyen
ModeratorHi Cees,
It looks like the result of a SQL query, not the table wp_postmeta which you can see here https://codex.wordpress.org/Database_Description#Table:_wp_postmeta
But somehow the empty values are stored in your database, you can safely delete those rows as well. You can also test to save an empty value to the database and recheck this case.
October 6, 2022 at 8:26 AM in reply to: Open Street Map display does not work in oxygen (for me) #38554Long Nguyen
ModeratorHi Joo,
Can you please deactivate the plugin Oxygen Builder and add the code to the template file of the theme and see if the map displays?
If it still does not display, please share the code that creates the custom fields on your site. Refer to this documentation https://docs.metabox.io/extensions/meta-box-builder/#getting-php-codeLong Nguyen
ModeratorHi Cees,
FYI, WordPress does not support saving an empty value to the database. If a field (for example
text) has a value then you delete it when editing the post and save changes, the current row will be deleted in the database.Long Nguyen
ModeratorHi Roderick,
You can follow this topic to know how to get Yoast primary term by a function of Yoast
yoast_get_primary_term()then replace it with the WordPress functionget_the_term_list()
https://stackoverflow.com/questions/38800626/how-to-get-primary-category-set-via-yoast-seo-plugin-in-wordpressHope that helps.
-
AuthorPosts