Forum Replies Created
-
AuthorPosts
-
October 6, 2024 at 10:11 PM in reply to: ✅WYISWG editor do not work inside nested group on some instances #46613
Peter
ModeratorHello,
I've escalated this issue to the development team for fixing. It will be included in the next update of our plugin.
Thank you.
Peter
ModeratorHello,
Supporting the custom code is beyond our scope, please read more about support policy here https://support.metabox.io/topic/support-policy/
If you are not able to complete the task, we offer a customization service, please contact us by submitting this form https://metabox.io/contact/
for more details.October 3, 2024 at 11:02 PM in reply to: Custom Sanitization CB for Cloneable Group but only targeting a few fields #46602Peter
ModeratorHello,
1. If you use the builder, there isn't an option to apply the validation globally. I suggest you use the filter
rwmb_normalize_fieldto add a setting to all fields.
https://docs.metabox.io/filters/rwmb-normalize-field/2. You can use the function
rwmb_get_field_settings()to get all settings of the group field.
https://docs.metabox.io/functions/rwmb-get-field-settings/3. Similar to #1, you can add a specific prefix to the field ID (like abcd_fieldID) and check this (abcd) to add a setting to those fields. It would require some custom code to do so.
October 3, 2024 at 10:16 PM in reply to: ✅WYISWG editor do not work inside nested group on some instances #46601Peter
ModeratorHello Peter,
Please enable cloneable for the WYSIWYG field and enable the option "Clone empty start" then check the issue again. Let me know how it goes.
Peter
ModeratorHello Jordan,
MB Custom Post Types plugin helps you to create the CPT with UI and standard features of WordPress (https://developer.wordpress.org/reference/functions/register_post_type/), it doesn't support an option to have a dynamic slug for CPT and taxonomy.
You need to create some custom code to rewrite the CPT slug dynamically. Here are some examples:
https://stackoverflow.com/questions/51217355/custom-permalink-with-dynamic-rewrite-tags-on-a-wordpress-custom-post-type
https://stackoverflow.com/questions/59482836/create-a-dynamic-rewrite-rule-for-custom-taxonomyPeter
ModeratorHello,
Now I see the archive page /property/ doesn't exist, screenshot https://imgur.com/JRYL43E
Can you please recheck this?
October 2, 2024 at 9:50 PM in reply to: Custom Sanitization CB for Cloneable Group but only targeting a few fields #46593Peter
ModeratorHello Dave,
Let me answer your questions.
1. You can follow this topic to understand how to use sanitize for cloneable group
https://support.metabox.io/topic/custom-sanitization-cloneable-group-php-error/#post-395082, 5. No, by default, subfields in a group field are not sanitized. It is noted in the documentation
https://docs.metabox.io/sanitization/#default-sanitize-callbacks3. No, the field ID in a group field is mandatory to sanitize the value.
4. No. If you want to validate a field without reloading the page, please use the Validation feature
https://docs.metabox.io/validation/Peter
ModeratorHello,
The WordPress function get_terms() returns an array of terms. So you need to use a loop to output the term in the array. Here is an example:
{% set cats = mb.get_terms({ 'taxonomy': 'topic', 'hide_empty': false }) %} {% for cat in cats %} {{ cat.name }} <br> {% endfor %}You can read more about how to use PHP functions in the View template: https://docs.metabox.io/extensions/mb-views/#running-php-functions
Peter
ModeratorHello Lloyd,
Please try to deactivate all plugins except Meta Box, MB AIO and create the CPT again. Let me know how it goes.
October 1, 2024 at 10:49 PM in reply to: In group field, first WYISWG element can't switch from Tet to Visual #46581Peter
ModeratorHello,
It is similar to this issue https://support.metabox.io/topic/wysiwyg-2/#post-46572
please try to enable the option "Clone empty start" for the WYSIWYG subfield in a group and check the issue again.
Peter
ModeratorHello,
In this case, it is beyond our scope of support. You can use the filter hook
register_taxonomy_argsto modify the argument of a taxonomy. Here is an example https://stackoverflow.com/questions/34977582/how-to-filter-taxonomy-args-with-register-taxonomy-args-wordpress
and following the WordPress documentation
https://developer.wordpress.org/reference/hooks/register_taxonomy_args/Peter
ModeratorHello,
Please update Meta Box and MB AIO plugins to the new version to fix the issue with Conditional Logic. Let me know how it goes.
Peter
ModeratorHello,
The callback function of the custom HTML field with a parameter works properly on my demo site, here is the screen record https://drive.google.com/file/d/1NCmayn0rm1SIf3WiS_MHmfuPYS9Mf5aw/view?usp=sharing
Can you please recheck this?
Peter
ModeratorHello Yumiko,
What is the PHP version on your server? Please use PHP 7.4 and see if it helps. If you want to disable auto updates, please follow the documentation https://www.wpbeginner.com/wp-tutorials/how-to-disable-automatic-updates-in-wordpress/
Peter
ModeratorHello Ben and Kyle,
Please update Meta Box and MB extensions plugin to the new version to fix the issue with Conditional Logic. Let me know how it goes.
-
AuthorPosts