Forum Replies Created
-
AuthorPosts
-
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-fieldsJune 5, 2023 at 5:35 PM in reply to: Bug? In front end form, "add new", checkbox tree display #42064Peter
ModeratorHello Scott,
I do not see that issue on my site. Can you please take a screen record of steps you do on your site? Also, let me know which version of Meta Box and Meta Box extensions you are using.
Peter
ModeratorHello,
Each post submitted in the frontend submission form will have a unique key, stored in the option name
mbfs_keys. Each key will store all information of the form settings.I hope that makes sense.
June 3, 2023 at 2:53 PM in reply to: Questions/ feedback regarding custom tables/ relationships #42032Peter
ModeratorHello,
1. If you are using the builder to create custom fields and custom table, we have a note for this case, the data type is
TEXTto compatible with the most of field data: https://docs.metabox.io/extensions/mb-custom-table/#getting-startedIf you select the option Create table automatically, the plugin will attempt to create the table for you. Once it's done, you'll see the custom table in your database, which has columns that match your custom field IDs, each column per field ID. To make the data compatible with the field data, the plugin uses data type TEXT for all columns.2. The custom table created by Meta Box will have one ID column which is the post ID and the other columns are the field IDs. The column name must be matched with the field ID if you use the existing custom table. Read more in the documentation https://docs.metabox.io/extensions/mb-custom-table/#notes
3. The relationship value is saved to a custom table wp_mb_relationships, you can create a relationship between post and page then check the data in that table.
Also, the relationship does not work with the custom model created by the custom table https://docs.metabox.io/extensions/mb-custom-table/#custom-models4. I'm not sure if the custom table can work with WP All Import, you can follow this topic https://wordpress.org/support/topic/import-custom-fields-into-custom-table/
or contact them to get further information.
You can export and import the custom table by using PHPMyAdmin, I think it is easier to do.5. Bricks builder maintains compatibility with Meta Box, if you have any questions with Bricks, please contact them to get further information. Please read more here https://docs.metabox.io/compatibility/
Peter
ModeratorHello,
You can try to change the Capability Type of the CPT to Post or Page and recheck this issue. If the user can delete the post, there should be an issue with the capability of the user.
Or you can follow this article to delete a post https://www.isitwp.com/delete-post-from-front-end/
Peter
ModeratorHello,
You can create a select field with options post statuses, then use the function wp_update_post() to update the post status after submitting a post on the frontend. Refer to this topic https://support.metabox.io/topic/controlling-post-status-in-front-end-dashboard/?swcfpc=1
Peter
ModeratorHello,
I will inform the development team to consider supporting a filter hook to modify the text. Thank you.
Peter
ModeratorHello,
This issue has been fixed in this commit https://github.com/wpmetabox/meta-box/commit/191e00e11fc372219307044472d85b59ae6412a5
You can try to apply it on your site while waiting for the new update of Meta Box. -
AuthorPosts