Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello Rebecca,
If you use the action hook
rwmb_frontend_after_save_post, you can check if the post is submitted from a specific form by checking the field group ID (shortcode attributeid). For example:add_action( 'rwmb_frontend_after_save_post', function( $config ) { // Make sure you work on the correct form. if ( 'field-group-id' !== $config['id'] ) { //add your code here to set the term } } );May 21, 2024 at 8:38 PM in reply to: Set Settings Page Custom Field data and be able to choose it from a CPT page #45484Peter
ModeratorHello,
No, it isn't possible to setup the code with the builder. You have to add the code in a template file. If you cannot complete the task, we offer a customization service with an extra fee. Please contact us here for more details https://metabox.io/contact/
Peter
ModeratorHello,
I see the hover style in the section "MB Views 3-column" works well, please check these screenshots
https://imgur.com/a/KpegB27Peter
ModeratorHello,
Please share your site credentials by submitting this contact form https://metabox.io/contact/
I will take a look.Peter
ModeratorThanks for your feedback.
Currently, there isn't an option to check the validation of the input value in the builder. I will inform the development team to explore the possibility.
May 20, 2024 at 10:19 PM in reply to: How to order relationships in Bricks Builder query loops #45477Peter
ModeratorHello,
I've tried using a meta key in Bricks for a date field in the query loop to get the orderby to work, but that hasn't worked either.As I mentioned in the first reply: Please try to use the code without the Bricks builder and let me know how it goes. Following the documentation https://docs.metabox.io/extensions/mb-relationships/#getting-connected-items
In some cases I'm able to order the items, but in this video you can see that it doesn't work smoothly.You can try to deactivate all plugins except Meta Box, MB extension plugins, switch to a standard theme of WordPress and check the issue again.
Peter
ModeratorHello,
Currently, it isn't possible. This is a WordPress core issue, you can take a look at this link https://core.trac.wordpress.org/ticket/44610
The oEmbed field of Meta Box uses the WordPress function
wp_oembed_get()to check and save the URL that is in the list of provider URLs and the nocookie Youtube URL isn't in the list. Check the file wp-includes/class-wp-oembed.php line 53.When the WordPress core issue is fixed, you can use the nocookie Youtube URL on your site.
Peter
ModeratorHello,
The media button is added by the code in the script file wp-content/plugins/meta-box/js/media.js
if you use Ajax to load the custom field, you need to add the script files along with the Ajax response by using the HTML tag
<script>.I think you can use the field
imageto show the HTML5 input field without any script files to prevent that issue.
https://docs.metabox.io/fields/image/May 19, 2024 at 9:40 PM in reply to: Taxonomies (Categories) not available when editing a post #45471Peter
ModeratorOk, please share the login details by submitting this contact form https://metabox.io/contact/
I will take a look.May 19, 2024 at 3:07 PM in reply to: Taxonomies (Categories) not available when editing a post #45468Peter
ModeratorHello,
Please edit the custom taxonomy > Advanced tab > Enable/disable the option "Hierarchical" > Save the taxonomy and update the custom post again.
May 19, 2024 at 3:04 PM in reply to: How to order relationships in Bricks Builder query loops #45467Peter
ModeratorHello,
Yes, the order of related items in the frontend should reflect the order of related items in the admin area. You can use the parameter "order, orderby" of WP Query to override the default order of related items.
https://developer.wordpress.org/reference/classes/wp_query/#order-orderby-parametersPeter
ModeratorI found the issue, the time format of the time field "slider" is invalid. You should change it to a supported one "hh:mm" to fix the issue, screenshot https://imgur.com/wOP1j58
Following the documentation https://trentrichardson.com/examples/timepicker/
May 18, 2024 at 3:06 PM in reply to: โ Datetime is not rendering per user's time Zone after saving #45462Peter
ModeratorYes, the time is saved to the database with the "timezone (UTC) + offset". But it doesn't mean displaying the proper time for each user's/visitor's time zone in the frontend, just the value in the database when saving the post.
Following the documentation https://docs.metabox.io/fields/datetime/
May 17, 2024 at 10:25 PM in reply to: Taxonomies (Categories) not available when editing a post #45458Peter
ModeratorHello Rune,
Please go to Meta Box > Taxonomies > Edit the custom taxonomy > Advanced tab > Enable the option "Show on edit page" and check this issue again.
May 17, 2024 at 10:09 PM in reply to: Set Settings Page Custom Field data and be able to choose it from a CPT page #45457Peter
ModeratorHello,
For the first question, I think you don't need to setup a complicated field. Just create a select field with 4 choices. In the template, you can create a
ifstatement to output the setting page field value based on the post field value. Like this:if ( post_field_value == something ) { echo settings_page_field_value; } -
AuthorPosts