Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi Will,
There is no option to save settings after triggering the switch field like that. You might need to create some custom JS code to trigger an ajax action and update the field value via the WordPress function
update_option(). Read more on the documentation
https://codex.wordpress.org/AJAX_in_Plugins
https://developer.wordpress.org/reference/functions/update_option/October 5, 2022 at 11:21 AM in reply to: How to set taxonomy terms from multiple taxonomy fields #38544Long Nguyen
ModeratorHi,
It is possible. If you are familiar with coding you can create some lines of code to set the post terms. Please read more on the documentation
https://docs.metabox.io/actions/rwmb-after-save-field/
https://developer.wordpress.org/reference/functions/wp_set_object_terms/October 5, 2022 at 10:23 AM in reply to: ✅CPT with taxonomy, custom field with image attached to taxonomy #38543Long Nguyen
ModeratorHi,
The code is correct to display the term meta image on the frontend. It is the same as mentioned in the documentation https://docs.metabox.io/extensions/mb-term-meta/#getting-field-value
Long Nguyen
ModeratorHi,
Thanks for your additional information.
I do not see any issue with those blocks of code. Can you please try to deactivate all plugins except Meta Box, MB AIO and switch to the standard theme of WordPress (Twenty TwentyTwo) and recheck this issue?
October 4, 2022 at 10:26 PM in reply to: ✅CPT with taxonomy, custom field with image attached to taxonomy #38536Long Nguyen
ModeratorHi Joe,
If you use the field type
image_advanced, you also need to use a loop to iterate through an array of image IDs. If you just want to upload 1 image, you can use the fieldsingle_imageto simply get the image ID. Please read more on the documentation
https://docs.metabox.io/fields/image-advanced/#template-usage
https://docs.metabox.io/fields/single-image/#template-usageAnd this documentation to get the term meta
https://docs.metabox.io/extensions/mb-term-meta/Long Nguyen
ModeratorHi,
In case of using a third-party builder plugin, please reach out to them if you have any issues with installation, configuration, compatibility, or usage.
Refer to our support policy https://metabox.io/support/topic/support-policy/Or you can create your own custom block with MB Blocks to display the image custom field. Read more on the documentation https://docs.metabox.io/extensions/mb-blocks/
Long Nguyen
ModeratorHi Yasmine,
Please follow this topic https://support.metabox.io/topic/custom-user-fields-not-showing-in-wordpress-back-end/#post-35455
to know how to set custom fields available for a user role and allow the admin to edit those fields as well.Let me know how it goes.
October 4, 2022 at 3:19 PM in reply to: Outputting a different user meta photo from field group #38527Long Nguyen
ModeratorHi Yasmine,
Can you please share the code that creates the custom field (group add_co_author) on your site?
October 4, 2022 at 10:21 AM in reply to: ✅How can I enable a search form to search in custom meta? #38526Long Nguyen
ModeratorHi,
You can follow this article to use a third-party plugin to create an advanced search form and search posts by field value https://metabox.io/create-advanced-search-box-wordpress
If you are familiar with coding, you can also follow this topic on WPSE https://wordpress.stackexchange.com/questions/165478/creating-a-search-form-for-custom-fields
Long Nguyen
ModeratorHi Rick,
Can you please share some screenshots of the issue on your site? I will check it on my end.
Long Nguyen
ModeratorHi,
Thanks for your additional information.
I mean the code that creates the custom fields, not the taxnonomy. Refer to this documentation https://docs.metabox.io/extensions/meta-box-builder/#getting-php-code
Long Nguyen
ModeratorHi,
Can you please share the code that creates the custom fields on your site?
Long Nguyen
ModeratorHi Rick,
Thanks for your feedback.
I'm able to reproduce that issue on my demo site and I've informed the development team to consider supporting this case in future updates.
Long Nguyen
ModeratorHi,
If you want to use the field
taxonomyon the editing page, please remove the standard taxonomy box of WordPress. Please edit the taxonomy then uncheck the option "Show on edit page" in the Advanced tab. Screenshot https://monosnap.com/file/jal9hQkBzSbjJ4Kc1Z4a66n9KzxWugLong Nguyen
ModeratorHi Leo,
As you can see in the error log, the problem comes from the plugin Oxygen builder. You can try to contact Oxygen support to ask for help with this case.
-
AuthorPosts