Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello,
Meta Box UI does not support passing the custom args like that. Please use the code to register the custom taxonomy.
Peter
ModeratorHello,
Do you mean to use the custom block in Full Site Editing (Appearance > Editor)? Currently, MB Blocks does not work with FSE, our development team is working on this feature to make the custom block works in FSE.
June 7, 2023 at 8:43 PM in reply to: frontend submission for two post types on same page - is it possible? #42103Peter
ModeratorHello,
You can add two or more frontend shortcodes on a page to submit post types on the frontend. But editing the post on the frontend will not work for all post types. So totally, please use one frontend shortcode per page.
Peter
ModeratorHello Chris,
Follow the documentation https://docs.metabox.io/extensions/mb-rest-api/
please check the Rest API URL and see if the custom fields display under themeta_boxkey. If yes, I think MB Rest API works properly.June 7, 2023 at 8:18 PM in reply to: Bug? In front end form, "add new", checkbox tree display #42101Peter
ModeratorHello,
Thanks for your details.
I can reproduce the issue on my demo site. I've escalated this issue to the development team to fix it in the next update.
Peter
ModeratorHello Sam,
Meta Box does not support adding the JS code to the field settings to adjust the input value like that. You can use the validation to validate the display name input when creating/updating the user profile. Refer to the documentation https://docs.metabox.io/validation/
Peter
ModeratorHello,
With the single_image field, there are some supported return values: title, caption, alt, description.
[wpbb post:meta_box field='single_image_id' display='title']Peter
ModeratorHello,
There isn't a way to pass the args manually when registering custom taxonomy with Meta Box UI. Also, I don't see the
orderbyin the list of accepted args when registering the custom taxonomy with code, please check the documentation
https://developer.wordpress.org/reference/functions/register_taxonomy/Peter
ModeratorHello Smith,
Thanks for your feedback.
There is an issue with the WYSIWYG field and our development team is working on this issue. Hopefully, it will be fixed soon. For now, please use the Text tab to add the value to the field and save the post.
Peter
ModeratorHello Chris,
Now you can use the Beaver shortcode to display the single image URL
[wpbb post:meta_box field='single_image']or display a list of images if using the shortcode to display image_advanced field
[wpbb post:meta_box field='image_advanced']June 6, 2023 at 5:31 PM in reply to: ✅Order of code snippet execution? (Custom WP Query for SELECT field CALLBACK) #42082Peter
ModeratorHello,
It's not an issue of Meta Box and needs some custom code to query the product variation so it is beyond our scope of support. If you are not able to complete the task, please contact us here https://metabox.io/contact/
Our development team will help you with an extra fee.Peter
ModeratorHello,
MB Conditional Logic only supports showing/hiding a field based on a condition. It does not support disabling a field. If you are familiar with coding, you can create some custom JS code to disable a field, refer to this topic https://stackoverflow.com/questions/5963099/how-do-i-disable-form-fields-using-css
June 5, 2023 at 10:35 PM in reply to: Questions/ feedback regarding custom tables/ relationships #42072Peter
ModeratorHello,
1. Thanks, I will inform the development team to consider supporting an option to set the data type manually in the builder.
1A. Yes, the code is the step to create the custom table. You will need to link the custom fields to the table. In the builder, you need to enable option "Save data in a custom table" and add the table name to the option below, and don't enable option "Create table automatically", screenshot https://monosnap.com/file/z8Zg1W3PfLoLFFGR2ihvibBdqnnAhb
3. You can follow the documentation https://docs.metabox.io/functions/rwmb-meta/
to get the post meta (field value) based on the post ID. For example:$post_ids = rwmb_meta( 'where_to_buy' ); foreach ($post_ids as $post_id) { echo rwmb_meta( 'vendor_url', '', $post_id ); }3A. I'm not sure what is the search you want to use but it needs to have some custom code to create an SQL query in the database and it's beyond the scope support of Meta Box. Meta Box supports inputting values in the backend and outputting the value in the frontend.
3B. Thanks for your feedback. I will inform our development team to improve the documentation and UI for easier to use.
Final: What is the selector or field type you are mentioning? Do you mean the default select field of Object type and Post type when creating the relationship?
Peter
ModeratorHello Brandon,
The custom taxonomy block is not created by Meta Box, it is the standard feature of WordPress. You can register a custom taxonomy with coding and enable
show_in_restto use the taxonomy block.Peter
ModeratorHello,
Can you please share the generated PHP code from the field group that is assigned to the setting page? You can also use the WordPress function get_option() to get a setting page value.
Your two functions
get_mini_cta_value()andget_hero_status()look getting the field value associated with a post, not a setting page. Please read more in the documentation https://docs.metabox.io/extensions/mb-settings-page/#settings-fields -
AuthorPosts