Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello Tom,
Can you please export the field group to a JSON file and share it here? I will check the field settings and help you correct the code to output the WYSIWYG subfield value.
Refer to the documentation https://docs.metabox.io/extensions/meta-box-builder/#export--importMarch 26, 2025 at 11:07 PM in reply to: Wysiwyg sanitization - allow nothing but what I define #47927Peter
ModeratorHello Duffl,
Sorry for the late reply. The WYSIWYG field uses
wp_kses_postfunction for sanitization. You can also create your own custom function to sanitize the field value.
Please follow the documentation https://docs.metabox.io/sanitization/
https://github.com/wpmetabox/meta-box/blob/master/inc/sanitizer.php#L85March 26, 2025 at 11:03 PM in reply to: Feature Request: Add Gesture Handling Support for Open Street Maps Field #47925Peter
ModeratorHello Pawel,
Thanks for your feedback.
I will forward this topic to the development team to consider supporting the GestureHandling feature for future updates.
Peter
ModeratorHello Tanja,
I'm afraid that MB Frontend Submission doesn't support duplicating posts in the frontend. You can use a third-party plugin and duplicate the posts in the admin area.
Peter
ModeratorHello,
After importing the field group https://pastebin.com/kTVMJ7GE to my demo site, I can see the issue.
This happens with the total columns in the first tab, the total columns of custom fields should be equal 12 or a multiple of 12.
If I remove the last custom field in the first tab, then it works properly. Please check this screenshot https://imgur.com/dRExMgt
Let me know if it works on your site.
Peter
ModeratorHello Tom,
If you use the WYSIWYG field as a subfield in a group field, the value will be saved without
<p>tag. If you want to render the<p>tag, you should use the PHP codewpautop()to wrap the field value.It is noted in the documentation https://docs.metabox.io/extensions/meta-box-group/#sub-field-values
https://docs.metabox.io/fields/wysiwyg/#template-usageMarch 25, 2025 at 9:41 PM in reply to: ✅How to create a View to show an Open Street Map containing all markers #47913Peter
ModeratorHello Jon,
Please share your site admin account by submitting this contact form https://metabox.io/contact/
and let me know steps that you do you on your site, where I can see that. I will take a look.Peter
ModeratorHello Peter,
Can you please export the field group to a JSON file and share it here? I will help you check the issue with tab and custom fields.
March 24, 2025 at 9:47 PM in reply to: ✅How to create a View to show an Open Street Map containing all markers #47907Peter
ModeratorHello Jon,
There is a section in the tutorial that helps you use Views to show all markers on a map
https://docs.metabox.io/tutorials/display-listings-on-map/#32-method-2-using-mb-viewsif you want to use the PHP code, you can create a shortcode and wrap the PHP code inside the shortcode. Then you can add the shortcode to many places on your site. Please follow the documentation
https://docs.metabox.io/tutorials/display-listings-on-map/#32-method-2-using-mb-viewsPeter
ModeratorHello,
You can still use the filter hook
rwmb_frontend_dashboard_query_argsto adjust the dashboard, here is an example:add_filter( 'rwmb_frontend_dashboard_query_args', function( $args ) { $user_id = get_current_user_id(); if( $user_id == 1 ) { $args['posts_per_page'] = 30; // show 30 posts based on user ID } $args['order'] = 'DESC'; return $args; } );Peter
ModeratorHello,
There isn't an option to add the pagination to the dashboard. If you want to limit the number of posts on the dashboard, you can use the filter hook
rwmb_frontend_dashboard_query_argsto modify the query argumentposts_per_page. For example:add_filter( 'rwmb_frontend_dashboard_query_args', function( $args ) { $args['posts_per_page'] = 15; // show 15 posts return $args; } );Following the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#dashboard
Peter
ModeratorHello,
I can reproduce the issue on my demo site with your code. I've escalated this to the development team so they can fix it in the next update of MB Views.
Thank you.
Peter
ModeratorHello,
Can I include two different CPTs, though?No, it shouldn't be. You should add one post type to a frontend form per page and have one dashboard/edit page per post type.
Peter
ModeratorHello,
Can you please share the shortcode you use to show the frontend form? If use a builder like Bricks or Elementor, please share some screenshots of the widget settings. I will help you check the issue there.
March 22, 2025 at 8:33 AM in reply to: The loading of the WYISWG editor fields are still really really slow #47893Peter
ModeratorHello,
Yes, you can share the JSON file privately by submitting this contact form https://metabox.io/contact/
I will take a look.
Thank you.
-
AuthorPosts