Forum Replies Created
-
AuthorPosts
-
July 5, 2023 at 10:30 PM in reply to: Display custom multiselect as label (not serialized value) in DB query #42492
Peter
ModeratorHello,
For the select field, the value saved is the value, not the label. If you want to display the label in the frontend, you can follow the template usage in the documentation https://docs.metabox.io/fields/select/#template-usage
Peter
ModeratorHello,
I still don't know what happens or how happens there with your screen record and an empty field group. If it is possible, please create an online staging site, restore your site there and share the admin site account. I will help you to check the issue.
Peter
ModeratorHello,
You can try to deactivate all plugins except Meta Box, MB extension plugins and switch to a standard theme of WordPress then recheck this issue.
If this happens, there could be an issue with your reCaptcha key.
Peter
ModeratorHello,
Follow step 3 in the documentation https://metabox.io/translate-custom-fields-with-wpml/#step-3-set-up-wpml-plugin-to-translate-custom-fields
you can set the custom field to "Don't translate" to not translate the field value.For further assistance, I recommend contacting WPML support. They will know how to translate or not translate the custom field.
Peter
ModeratorHello,
You can not show a field based on its value, it's not how the conditional logic works. You can show/hide a field based on another field value. Please try this again with this case:
- create two fields with the following IDs:custom_text1,custom_text2
- setcustom_text1visible ifcustom_text2is not empty like this screenshot https://imgur.com/ax8gEH3Read more in the documentation https://docs.metabox.io/extensions/meta-box-conditional-logic/
Peter
ModeratorHello,
I see that issue on my local site after importing the field group. Then I increase the PHP setting
max_input_vars(about 10k) and it seems to resolve the issue.
https://metabox.io/wordpress-custom-fields-not-saving-increase-max-input-vars/July 5, 2023 at 8:58 PM in reply to: Same value for a specific custom field of all posts of a CPT #42484Peter
ModeratorHello,
I don't know the magic code like that. If the field value is the same for some posts not all of them, you will need to update the value manually.
Or use the code like update_post_meta() within a loop.July 4, 2023 at 11:44 PM in reply to: ✅Frontend Submission --> Custom Title and Slug from Fields #42473Peter
ModeratorHello,
There are two things that I suggest you can try:
- Get the post type before using it:
$post_type = $object->post_type; if ( 'bio' == $post_type ){ ...- Sanitize the field value for the slug
// Get the field value $my_meta = rwmb_meta( 'counselor_full_name', '', $post_id ); // Preprare update post $post_slugsan = sanitize_title($my_meta);Peter
ModeratorHello,
I disable the option "Has archive" on my demo site and the button is still rendered as well. Troubleshooting mode might not work in some cases. You can try to deactivate all plugins and leave only Meta Box, MB extensions plugins activated, switch to a standard theme of WordPress then check this issue again.
July 4, 2023 at 10:10 PM in reply to: Toolset Migration successful but Metabox plugin causing the site to break #42470Peter
ModeratorHello,
Please share your site credentials via this contact form https://metabox.io/contact/
I will help you to check the issue.July 4, 2023 at 10:06 PM in reply to: Same value for a specific custom field of all posts of a CPT #42469Peter
ModeratorHello,
If you have the same field value for all posts, you can consider using a settings page. Then change the field value in one place for all posts.
Peter
ModeratorHello,
What happens if you click on Publish? If the field group is still in Draft mode, you can try to deactivate all plugins and leave only Meta Box, MB AIO activate, switch to another theme.
If it still does not work, please export the field group to a JSON file and share it here. I will check this issue on my demo site.
Refer to the documentation https://docs.metabox.io/extensions/meta-box-builder/#export--import
Peter
ModeratorHello,
Yes, please use the custom code to hide the tab.
Peter
ModeratorHello,
No, currently it's not possible. Opening the frontend form in a modal will get a lot of JS errors.
Peter
ModeratorHello,
You can use the operator != (not equal) and leave an empty value to show a field if the target field has a value. Screenshot https://imgur.com/ax8gEH3
-
AuthorPosts