Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello Sam,
There is a trick to sort the posts by modified date. You can create a custom field date_picker and create an admin column to display this field value and sortable, then use the WordPress function
get_the_modified_date()to get the modified date and update this data for the field.This is the example code:
add_action( 'save_post', function( $post_id ) { $modified_date = get_the_modified_date( '', $post_id ); update_post_meta( $post_id, 'date_field', $modified_date ); } );You might need to check the post type or something else on your end. Please read more on the documentation
https://developer.wordpress.org/reference/functions/get_the_modified_date/
https://docs.metabox.io/extensions/mb-admin-columns/#3-advanced-configurationPeter
ModeratorHello Sam,
Let me answer your questions.
1. The post content revision is the standard feature of WordPress, it does not relate to Meta Box itself.
2. Yes, I see the issue on my end. I've escalated this to the development team to check this and get back to you later.
Peter
ModeratorHello,
The menu position works correctly on my local site. But it can be modified by any plugin or theme on your site which also use the WordPress hook to add its menu and can rearrange the position then.
You can try to deactivate all plugins and leave Meta Box, MB AIO activate and switch to a standard theme of WordPress then check this issue again.
You can also read more about the default menu structure number here https://developer.wordpress.org/reference/functions/add_menu_page/#menu-structure
Peter
ModeratorHello,
Yes, the update (every update of all plugins) will be included in the next update of the plugin Meta Box AIO. Hopefully, it will be available soon.
Peter
ModeratorHello,
I see the CSS selector does not have space between classes, I think you are missing the spaces to target the button class. Please try to use this selector and let me know how it goes.
job-sheet-featured-aspects .rwmb-form-submit .rwmb-button { display: none; }Peter
ModeratorHello,
How do you use the backend validation? Do you try to use the remote validation as I suggested before?
https://support.metabox.io/users/user_634689848e0c8/?swcfpc=1Or enable ajax for the frontend submission form to prevent reloading the page. Please read more on the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#submission-form
March 16, 2023 at 6:28 PM in reply to: Beaver Builder image gallery connection to Metabox field #41038Peter
ModeratorHello,
Our development team is working on this issue. If you are familiar with coding, you can try to apply this commit to your site and see how it goes.
https://github.com/wpmetabox/meta-box-beaver-themer-integrator/commit/9c23e2d816fa8acb511d762aa5567973c0351551March 16, 2023 at 6:28 PM in reply to: How do I display an image custom field on Author pages? #41037Peter
ModeratorHello,
Please share your site credentials via this contact form https://metabox.io/contact/
I will take a closer look.Peter
ModeratorHello,
If you use the builder, please check the option Advanced Location Rules in the Settings tab. Please check this screenshot https://monosnap.com/file/sGd0xvaEytRR0sPJ2tFSk4OuFkcpiy
Peter
ModeratorHello,
Can you please share some screenshots of the issue on your site and the relationship ID? Also, please note that:
mb_user_profile_registeris not a field group (meta box) ID to add to the frontend submission shortcode. It's the shortcode name of the user profile.
Did you create a field group with the IDmb_user_profile_register?Peter
ModeratorHello,
If you want to use the helper function
rwmb_get_registry(), please check this example code:$meta_box_registry = rwmb_get_registry( 'meta_box' ); $meta_box = $meta_box_registry->get( 'field-group-id' ); echo "<pre>"; print_r ( $meta_box->meta_box['fields'] ); //print out the list of fields echo "</pre>";Please read more on the documentation https://docs.metabox.io/functions/rwmb-get-registry/
Peter
ModeratorHello,
It's the PHP code to output the field value so you need to add it to the template file on your theme. If you want to output it in a block, please try to use the custom block of Meta Box. Please read more here https://docs.metabox.io/extensions/mb-blocks/
Peter
ModeratorHello,
It's not possible to add the relationship ID as a field ID like that. If you want to display the relationship meta box on the frontend, please add this meta box ID to the frontend shortcode
university_user_relationships_fromoruniversity_user_relationships_toFor example:
[mb_frontend_form id="meta-box-id1,university_user_relationships_to"]Please read more on this topic https://support.metabox.io/topic/mb-relationships-mb-frontend-submission/?swcfpc=1#post-16736
March 15, 2023 at 6:39 PM in reply to: MB custom fields and WP Gridbuilder data issue on filter facet #41024Peter
ModeratorHello,
That is expected behavior. The number field only displays the raw number without formatting. You can format the number on the frontend only, don't use the sanitize callback function to modify the value format.
Or use a custom field type Multimask which is developed by an expert Meta Box user https://github.com/badabingbreda/field-text-multimask
March 15, 2023 at 6:20 PM in reply to: How do I display an image custom field on Author pages? #41023Peter
ModeratorHello,
Our development team is working on this issue. If you are familiar with coding, you can try to apply this commit to your site and see how it goes.
https://github.com/wpmetabox/meta-box-beaver-themer-integrator/commit/9c23e2d816fa8acb511d762aa5567973c0351551 -
AuthorPosts