Forum Replies Created
-
AuthorPosts
-
December 20, 2021 at 10:56 AM in reply to: How to insert fields for sibling content in MB Views #32758
Long Nguyen
ModeratorHi,
You can use the custom query with WP arguments to show the sibling items in the loop. Refer to this documentation https://docs.metabox.io/extensions/mb-views/#custom-query
and this topic https://wordpress.stackexchange.com/questions/304136/check-whether-the-child-page-has-siblings
Long Nguyen
ModeratorHi Dan,
I've fixed the issue with field groups and custom fields on your site. Can you please re-check them?
- In case of using Oxygen Builder, please reach to them if you have any issues with installation, configuration, compatibility, or usage.
Refer to our support policy https://support.metabox.io/topic/support-policy/ - Not sure why this field group
FAQs Field Datais not migrated. But I check there are two fields in this group so you can try to create 2 fields again. - The field group
Prices Datais migrated and assigned to the post typepost. - Some
tabfields in the field groupPortfolioare missing the ID so the Builder won't allow you to update this field group. I've added the IDs then it works properly. - You are using another third-party plugin
Advanced Custom Fields: Extendedto add some extra fields to the field groups of ACF. They are not the standard fields of ACF and not in our library when migrating to Meta Box thus the field groups of Meta Box are broken. You can see the extra fields and some unexpected settings in the JSON file (export from Builder)
Before: https://pastebin.com/nR6yFn2T
After: https://pastebin.com/ZqyVM2DX
Long Nguyen
ModeratorHi,
As far as I know, WP REST API supports fetching fields for all posts, not for a specific post. And it looks like meta box is not supported to fetch in this way. Refer to this topic https://stackoverflow.com/questions/36339689/how-to-specify-the-fields-to-wordpress-api-v2
Long Nguyen
ModeratorHi,
Currently, there is no setting parameter to change the upload button text for a specific field. It just applies to all media fields. I'm going to inform the developer team to consider adding it to the to-do list for the future development of the plugin.
Long Nguyen
ModeratorHi,
Thanks for sharing your solution.
Actually, the action
pre_get_postsis fired beforeparse_querythat's why the query varrelationshipdoes not work. See https://github.com/WordPress/WordPress/blob/master/wp-includes/class-wp-query.php#L1804-L1814I will note this case in the documentation for other users if they want to filter the main query.
Long Nguyen
ModeratorHi,
You can use the attribute
redirectto redirect to thenewpageafter the post is submitted successfully.[mb_frontend_form id='garden-form' post_fields='title,content' redirect='http://your-site.com/newpage']Get more details about the attributes here https://docs.metabox.io/extensions/mb-frontend-submission/#shortcode-attributes
Long Nguyen
ModeratorHi,
You are right, the CSS code is not rendered on the frontend if you use the type: Shortcode. I will inform the development team to check this case and fix it in the next update.
Long Nguyen
ModeratorHi,
It's not possible to use the field data/value of a CPT to show as the description of another field of another CPT like that.
I think you can use the extension MB Relationships to create a connection between two CPTs and show the field value of the connected post on the frontend.
https://docs.metabox.io/extensions/mb-relationships/Long Nguyen
ModeratorHi,
You can follow this topic to access private posts via WP REST API https://stackoverflow.com/questions/30541838/how-to-retrieve-private-posts-from-wordpress-using-json-rest-api
Long Nguyen
ModeratorHi Jack,
Please share the JSON file and some screenshots of the issue on your site. I will try to reproduce it on my site.
Long Nguyen
ModeratorHi,
You can add those code blocks to the file functions.php in the theme/child theme folder to implement them. You can see the details in this screen record https://www.loom.com/share/f6cf8db0ab7a4aef8218ce03fcc34b6e
Long Nguyen
ModeratorHi,
It is not possible to use Meta Box to create WooCommerce variations in both frontend and backend. WooCommerce uses their own functions to create and update variations in the product data box.
Long Nguyen
ModeratorHi,
You can try to contact the migration plugin to ask why the custom field values are lost after migrating to the new site.
Long Nguyen
ModeratorHi,
I've tested this extension again on my local site and see it works as well, screenshots
https://share.getcloudapp.com/RBuyK1qw
https://share.getcloudapp.com/6quEO72zCan you please re-check the field group value and page ID?
http://yoursite.com/wp-json/wp/v2/pages/1234Long Nguyen
ModeratorHi,
Please try to deactivate all plugins except Meta Box, MB Settings Page, switch to the standard theme of WordPress, add just your code above to create the settings page and text field. Then re-check the issue.
Let me know how it goes.
- In case of using Oxygen Builder, please reach to them if you have any issues with installation, configuration, compatibility, or usage.
-
AuthorPosts