Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorGreat.
Let me know if you have any questions.Peter
ModeratorHello there,
Did you follow the configuration at the top of the documentation to use the Geolocation feature?
https://docs.metabox.io/extensions/meta-box-geolocation/#configurationCan you please share some screenshots of the issue on your site? Let me know what step you are stuck in.
Peter
ModeratorHello there,
Can you please let me know the code you use to output the field value? And where did you add the code?
I do not see any issue with the format function above. Here is an example:
$number = rwmb_meta( 'number_9htwx774glj' ); // French notation $nombre_format_francais = number_format( $number, 2, ',', ' ' ); echo $nombre_format_francais;November 27, 2022 at 10:18 PM in reply to: Display Relationship value in GenerateBlocks dynamic data #39358Peter
ModeratorHello,
If you use the relationship shortcode on a page, not in the content of the post type event, please pass the ID of the post to the shortcode to the attribute
items. For example:[mb_relationships id="licensee-events" items="12,34,56" direction="from" mode="ul"]where
12,34,56are post IDs of the post type event.>> Is there any way to output the relationship value into a custom field?
You can try to add the shortcode to the field WYSIWYG and get the field value in the block/builder. But I think it is not necessary if you can add the shortcode to the page content or a block shortcode.Peter
ModeratorHello there,
I see you've created another topic with the same question https://support.metabox.io/topic/code-not-working-with-updated-version/
Please use the WordPress function get_option() to get the field value when registering the meta box and custom fields.
add_filter( 'rwmb_meta_boxes', 'sidebar_post' ); function sidebar_post( $meta_boxes ) { $enable = get_option( 'my_settings' )['enable']; if ( $enable ) { ...Peter
ModeratorHello Lex,
Currently there is no option to display the featured image in the list posts of the
postfield. I will inform the development team to consider supporting this feature in future updates.Peter
ModeratorHello,
Please share your site credentials via this contact form https://metabox.io/contact/
I will take a closer look.November 27, 2022 at 9:24 PM in reply to: ✅Remote Validation - get the data of 2+ fields in one remote validation jquery #39354Peter
ModeratorHello there,
You can pass 1 field value to the remote validation for each rule only. Please read more on the documentation to know how to use it https://docs.metabox.io/validation/#remote-validation
and refer to this topic https://support.metabox.io/topic/remote-validation-example/#post-22957November 26, 2022 at 11:35 AM in reply to: ✅PHP 8 Error after activating "MB Custom Post Types & Custom Taxonomies" #39340Peter
ModeratorHello AJ,
Thanks for your feedback.
Can you please create a staging site and share the credentials via this contact form?
https://metabox.io/contact/I will take a closer look.
November 26, 2022 at 11:32 AM in reply to: ✅Custom Post Type and Thrive Theme Builder Archives #39339Peter
ModeratorHi there,
You can try to generate the PHP code and add the code to the file functions.php in the theme/child theme folder to register the custom post type then check the feature of Thrive Themes again.
Read more on the documentation https://docs.metabox.io/extensions/mb-custom-post-type/#getting-php-code-1Peter
ModeratorHello there,
Thanks for reaching out.
I think you've got an answer here https://support.metabox.io/topic/adding-a-custom-field-as-a-link-to-an-elementor-button/
So I will mark this topic as Resolved.Peter
ModeratorHello,
You can try to follow this tutorial to increase the PHP setting
max_input_varsto fix the issue
https://metabox.io/wordpress-custom-fields-not-saving-increase-max-input-vars/If it does not help, can you please generate the PHP code of the relationship and share it here? I will help you to investigate the issue.
Peter
ModeratorUnfortunately, it is not possible with Meta Box custom field. You can just display the fields in a separate section.
November 26, 2022 at 11:03 AM in reply to: ✅Frontend submission lis: tIs it possible to list the posts from all users? #39335Peter
ModeratorHello there,
Yes, it is possible. The posts in the frontend dashboard are retrieved by a WP Query, and there is a filter hook
rwmb_frontend_dashboard_query_argsthat supports modifying the arguments. Please read more on the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#dashboard-hooksHere is an example code:
add_filter( 'rwmb_frontend_dashboard_query_args', function( $args ) { // Get the user role $current_user_id = get_current_user_id(); $user_meta = get_userdata( $current_user_id ); $user_roles = $user_meta->roles; // Check if the user has an editor role, remove the argument author // see here https://developer.wordpress.org/reference/classes/wp_query/#author-parameters if( in_array( 'editor', $user_roles, true ) ) { unset( $args['author'] ); } return $args; } );November 24, 2022 at 9:38 PM in reply to: Profile pages using MB User Profile and MB Beaver Builder Integration #39307Peter
ModeratorHello Jan,
1. When registering the user, the user meta is also updated to the user. This feature works as well on my site. Can you please share the code of the field group
user-profileson your site. To get the PHP code, please follow this documentation https://docs.metabox.io/extensions/meta-box-builder/#getting-php-code2. >> since beaver allows you to save rows and then embed them as short codes, could you use metabox shortcodes instead of beaver themer to display content on a page?
You can add the Meta Box shortcode on a page without using the Beaver builder. Or even use the extension MB Conditional Logic to display the fields on the frontend.
https://docs.metabox.io/extensions/meta-box-conditional-logic/ -
AuthorPosts