Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi,
Thanks for your feedback.
In a field group (meta box), the tab field must be added first, then other fields. Screenshot https://share.getcloudapp.com/QwuAymkl
Long Nguyen
ModeratorHi,
To create custom fields without touching the code, you can use the MB Builder extension. Follow these documentations to understand how it works
https://docs.metabox.io/creating-meta-boxes/
https://docs.metabox.io/extensions/meta-box-builder/#field-group-settingsThen you can set the location to Taxonomy and select the taxonomy that custom fields are assigned to. Screenshot https://share.getcloudapp.com/GGuWbgWx
July 13, 2021 at 9:56 PM in reply to: One random image from an Image Advanced field in Oxygen #29478Long Nguyen
ModeratorHi ilan,
Thank you for reaching out.
Meta Box has the same way to create
image_advancedfield and get its value. You can get more details on the documentation
https://docs.metabox.io/fields/image-advanced/
https://docs.metabox.io/extensions/mb-settings-page/Paul uses the PHP code to create the snippet so I think you should also use PHP code to understand how it works.
Long Nguyen
ModeratorHi,
We receive a lot of requests for new features and fix issues. It takes time to implement them. Thank you for understanding.
Long Nguyen
ModeratorHi,
Thank you for your additional information.
If you use the
cloneableormultiplesetting, thetaxonomy_advancedfield saved multiple term IDs or a serialized array in a single row in the database. But as far as I know, meta queries of WordPress support comparing the meta (field) value with the given value, not vice versa.That means you can select one taxonomy and compare it with a given value like this
{% set users = mb.get_users({ meta_key: 'the_custom_taxonomy', meta_value: [4, 5, 6], //given value meta_compare: 'IN', })%}So I think you need to get all users and meta then compare it with the current term ID and print out the user matched.
Long Nguyen
ModeratorHi,
I got the issue. There is a problem with the "All" location option. I will escalate this issue to the development team to fix it in the next update.
Long Nguyen
ModeratorHi,
Thank you for your feedback.
I will inform the development team to improve the appearance of the select field in a group.
Long Nguyen
ModeratorHi,
Get the number of a specific ingredient in the WYSIWYG is not possible. You can try to use two fields, one number, and one text field in a group and make it cloneable to add more ingredients.
Long Nguyen
ModeratorHi,
Follow your screenshot, I think it does not relate to the validation, which works with custom fields on the backend. Your case looks like the tabs show the content on the frontend when clicking a button/link. Please refer to this article https://www.w3schools.com/howto/howto_js_tabs.asp
Long Nguyen
ModeratorYes, you need to change
field_idandoption_nameto your actual field ID and settings page option name.Long Nguyen
ModeratorHi,
If you assign the location to the taxonomy archive,
term.idwill return the current term ID on its page. So you can set the settingmeta_compareto={% set users = mb.get_users({ meta_key: 'the_custom_taxonomy', meta_value: term.id, meta_compare: '=', })%}Long Nguyen
ModeratorHi,
Thanks for the feedback.
I'm going to inform the developer team to consider adding custom error text to the to-do list for the future development of the plugin.
Long Nguyen
ModeratorHi,
This filter only helps you to validate the form based on the condition, does not support showing the custom error message. You can use the plugin Loco Translate to translate the default message
Invalid form submit.Long Nguyen
ModeratorHi,
It might be a caching issue. Can you please re-save the View of Nation taxonomy, clear cache, and re-check it? If it still does not work, please share your site credentials via this contact form https://metabox.io/contact/. I will help you to check it.
Long Nguyen
ModeratorHi,
What do you mean duplicated and sorted? Each field in the builder can be duplicated and sorted (drag and drop) as well.
-
AuthorPosts