Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello,
The option "Reciprocal relationship" should be used when you create a relationship for the same post type. If you create the relationship for two post types, the relationship meta box only displays when editing the "From" post type.
Peter
ModeratorHello Harry,
The issue mostly happens because the field group is broken, then there is no field display and the button Update is clicked again. Or the button Update is clicked twice before the fields are displayed then they are lost. Refer to this topic https://support.metabox.io/topic/bug-report-click-twice-on-update-all-custom-fields-are-lost/
If you have a backup file of your site, please try to restore it. Or you need to create a new field group with the same custom fields and IDs.
Peter
ModeratorHello,
Can you please share some screenshots of the meta value in the database before/after updating the post manually? And please share the code that you use to display the map on the frontend. I will take a look.
Peter
ModeratorHello,
You can create a custom query to get all posts of a CPT then use the helper function
rwmb_meta()orget_post_meta()to display the field value. Refer to the documentation
https://docs.metabox.io/functions/rwmb-meta/
https://developer.wordpress.org/reference/functions/get_post_meta/Or follow this topic to get all field values from a specific key https://wordpress.stackexchange.com/questions/9394/getting-all-values-for-a-custom-field-key-cross-post
Peter
ModeratorHello Stephen,
Do you see the administrator can manage plugins (activate/deactivate) on the multisite environment? If not, I see it is expected behavior with Meta Box. You can go to admin network > Settings > Network Settings > Scroll to the bottom and enable the option "Enable administration menus: Plugins" to allow administrator to access Meta Box AIO setting pages.
Peter
ModeratorHello,
Simply, yes. You still need to activate Meta Box (free) plugin in order to use CPT and custom fields on your site.
May 20, 2023 at 1:48 PM in reply to: ✅frontend submission features missing from admin dashboard #41858Peter
ModeratorHello,
MB Frontend Submission does not have a settings page/UI menu. It supports 2 shortcodes to add to a page to display frontend form and frontend dashboard. Please read more in the documentation https://docs.metabox.io/extensions/mb-frontend-submission/
Peter
ModeratorHello,
Do you add some custom SVG images to the testimonial item? If yes, please share some screenshots of the testimonial. I do not see that issue on my demo site.
You can also check the WP debug to see if there is any error log and share it here.
Peter
ModeratorHello Julia,
For the CPT, you can deactivate Meta Box to use the code to register the CPT. It's the WordPress function register_post_type() with arguments.
For custom fields, you still need to activate Meta Box to register custom fields. Please follow the documentation https://docs.metabox.io/creating-fields-with-code/
Peter
ModeratorHello Jason,
If you want to use the SVG image code (embed directly to HTML), please use the field
text. If you want to use the SVG image file, please use some image fields to upload the file.Peter
ModeratorHello,
To duplicate a post/page, you can use a third party plugin like Yoast Duplicate Post https://wordpress.org/plugins/duplicate-post/
But I'm not sure if it is compatible with Meta Box to duplicate the field value saved in the custom table. If not, you will need to use the public API to update the field value to the duplicate post https://docs.metabox.io/extensions/mb-custom-table/#apiMay 18, 2023 at 7:35 PM in reply to: ✅MB Views shortcode not rendering in block theme template #41844Peter
ModeratorHello,
If you use another shortcode, for example https://codex.wordpress.org/Shortcode_API, does it render properly?
May 16, 2023 at 10:57 PM in reply to: ✅"Group Title" shows the text "{subfield_id}" instead of the value #41838Peter
ModeratorHello,
I see that issue on my demo site after importing the field group. I'm checking the issue with the development team and get back to you later.
Peter
ModeratorHello Mark,
I'm not sure if it is the best way to update the user meta but if a third-party plugin can help you to check if the user watched the full video, you can create a callback function and update the user meta by using the function:
-update_user_meta()https://developer.wordpress.org/reference/functions/update_user_meta/
- orrwmb_set_meta()https://docs.metabox.io/functions/rwmb-set-meta/Peter
ModeratorHello,
You can try to use the function
\MetaBox\CustomTable\API::exists()in the callback function, which hooks torwmb_before_save_postaction, to check if there is a row in the custom table for the current post (object) and do your stuff then.Refer to the documentation https://docs.metabox.io/extensions/mb-custom-table/#exists
-
AuthorPosts