Forum Replies Created
-
AuthorPosts
-
November 21, 2023 at 10:26 PM in reply to: ✅Getting Fatal Error on psoting/updating Posts via Rest API #43867
Peter
ModeratorHello,
If you update the Meta Box custom fields via Rest API only, please use the Rest API v2 as noted in the documentation https://docs.metabox.io/extensions/mb-rest-api/
POST https://hannl.bw-works.com/wp-json/wp/v2/product/1477For other/standard data, you can use the Rest API v3 of WooCommerce to update data.
November 21, 2023 at 10:20 PM in reply to: Error loading of bloc : settings incorect : attributes #43866Peter
ModeratorHello,
Please share some screenshots of the Submission Form block. Or you can use the shortcode
[mb_frontend_form]and add the attributes manually. Following the documentation https://docs.metabox.io/extensions/mb-frontend-submission/Peter
ModeratorHello Chris,
If you are using the field type Fieldset Text, you need to add options/choices to the field settings. Please read more about field settings in the documentation https://docs.metabox.io/fields/fieldset-text/
Peter
ModeratorHello,
If you put the code into a loop, you might need to get the ID of the post in the loop to get the field value of the post. Following the documentation https://developer.wordpress.org/reference/functions/get_the_id/
November 21, 2023 at 8:57 PM in reply to: ✅How to allow adding more choices for Checkbox List fields on Dashboard? #43862Peter
ModeratorHello,
I'm afraid that it's not possible. Only the administrator can access the field group in the admin area to add more choices.
Peter
ModeratorHello,
When editing the relationship with UI, you can navigate to the Field tab, set Placeholder and max item to 1 to remove the Add more button. Screenshot https://imgur.com/AVCsuvU
November 20, 2023 at 7:04 PM in reply to: Urgent error - MB Custom Post Types & Custom Taxonomies #43852Peter
ModeratorHello,
Please update MB CPT & Custom Taxonomies to the new version 2.6.2 and check this issue again. If it still does not work, please share your site credentials via this contact form https://metabox.io/contact/
I will take a look.November 19, 2023 at 10:40 PM in reply to: ✅Getting Fatal Error on psoting/updating Posts via Rest API #43848Peter
ModeratorHello,
Maybe it's a compatibility issue between MB Rest API and WooCommerce. According to the error message, the object WC_Product_Simple is not considered as a WP_Post. Please share some screenshots or a screen record when you update your product via Rest API so I can understand steps you do on your site.
Peter
ModeratorHello Alan,
Meta Box helps you to create custom fields in the admin area, when editing the post or product, you can fill in the field and output the value in the frontend. It does not help to create custom fields in on the single product page in the frontend like that.
November 17, 2023 at 10:00 PM in reply to: ✅URGENT: Most recent update removed all h1's on my custom post types. #43841Peter
ModeratorHello,
Thanks for the confirmation. The new version fixes the issue with Blocksy recognizing post types.
November 17, 2023 at 9:36 PM in reply to: Urgent error - MB Custom Post Types & Custom Taxonomies #43840Peter
ModeratorHello Patrik,
Please enable WP debug log and share the error log here after you activate the plugin MB CPT & Custom Taxonomies. It will help me to understand what happens on your site.
https://wordpress.org/documentation/article/debugging-in-wordpress/Peter
ModeratorHello,
In the admin area, if you use the custom field with the ID
post_title, it wont' display when editing the post because the default title field of WordPress is the same.
You can use that field ID in the frontend submission form. Please follow the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#field-orderPeter
ModeratorHello Joe,
Can you please share some screenshots of the issue? Field group and when editing the page.
Peter
ModeratorHello,
You can check the option "Save field value" if it is disabled. If yes, please enable it and recheck this issue. See this screenshot https://monosnap.com/file/boUvSTyR4Kmm5Ls0wmDiELKehY7Lkb
November 17, 2023 at 9:07 PM in reply to: ✅Getting Fatal Error on psoting/updating Posts via Rest API #43835Peter
ModeratorHello Michael,
MB Rest API works with WordPress Rest API v2 or v1, it does not work with WooCommerce Rest API v3. Please follow the documentation https://docs.metabox.io/extensions/mb-rest-api/
-
AuthorPosts