Forum Replies Created
-
AuthorPosts
-
November 19, 2024 at 11:14 PM in reply to: Custom Admin Column: Uncaught Error: Class "MBAC\Post" not found #46971
Peter
ModeratorHello,
You can use the WordPress function
get_post_types()to get available post types on your site.
https://developer.wordpress.org/reference/functions/get_post_types/Peter
ModeratorHello Jayron,
wp_capabilitiesis a user meta, not a post meta, that you can add to the WP Query to query posts. WordPress doesn't support query posts by user capability so it isn't possible to add capability to thepostfield like that. Please follow the documentation
https://developer.wordpress.org/reference/classes/wp_query/Peter
ModeratorHello,
If you use the field
postand field type settingselect_advanced, no need to enable ajax in your code because it is enabled by default. Please follow the documentation https://docs.metabox.io/fields/post/#ajax-loadRegarding the setting
js_options, I recheck this and see that it works properly on my end with any post types. Maybe the JS code is affected by a third-party plugin or a custom code on your site. You can try to deactivate all plugins except Meta Box, MB extension plugins, switch to a WordPress theme and check the issue again.Peter
ModeratorHello,
Yes, you can use the MB Include Exclude with MB Relationships to show the meta box based on a condition. However, it will include/exclude a meta box on loading so you will need to reload the editing page after updating the taxonomy for the product.
Peter
ModeratorHello Hazmi,
Thank you for your feedback.
I can reproduce the issue on the demo site and I've escalated it to the development team to fix the issue. I will let you know when it's done.
November 18, 2024 at 10:56 PM in reply to: Builder not capable of handling more than 24 entries per field group? #46958Peter
ModeratorHello Patrick,
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/Let me know how it goes.
Peter
ModeratorHello Nick,
The
groupfield doesn't have the dashicon option. For the tab, the dashicons are displayed in the frontend on my demo site as well without enqueueing the dashicon style, see this screenshot https://imgur.com/ePLxJeb
Do you use a third-party plugin or some custom code that removes the dashicon style so the icons are not displayed in the frontend?November 18, 2024 at 10:34 PM in reply to: Custom Admin Column: Uncaught Error: Class "MBAC\Post" not found #46956Peter
ModeratorHello,
Do you add the file custom.php and the code to a custom plugin? Maybe the plugin is executed before Meta Box plugins so the Meta Box features are not available and cause the issue. Please try to add the file and custom code to a theme or child theme folder and check the issue again.
November 15, 2024 at 9:41 PM in reply to: MB Group Skin Elementor doesn't work in latest version #46939Peter
ModeratorHello Chris,
I test this feature by adding a shortcode of a third-party plugin to an Elementor MB Group Skin template, add the template to a post and see that the shortcode is rendered in the frontend as well.
Can you please share some screenshots of the issue on your site? If you add the shortcode to the page content directly without using MB Group Skin, is the shortcode content displayed in the frontend?Peter
ModeratorHello Andrew,
You can use the taxonomy field, enable the admin column and the setting
Filterableto show the filter for the custom taxonomy. Please follow the documentation
https://docs.metabox.io/extensions/mb-admin-columns/
https://docs.metabox.io/fields/taxonomy/Peter
ModeratorHello Yasmine,
What is the field type that you are using?
Peter
ModeratorHello Henrik,
I'm escalating this issue to the development team so they can check the loading speed of the tab when more fields are on a page. I will get back to you when I have more information.
Thank you.
Peter
ModeratorHello,
Please share your admin site account by submitting this contact form https://metabox.io/contact/
I will take a look.Peter
ModeratorHello Henrik,
Please export the field group to a JSON file and share it here. I will import the field group to my site and check the loading speed.
Following the documentation https://docs.metabox.io/extensions/meta-box-builder/#export--importPeter
ModeratorHello Clint,
Based on your screen record, the CPT label doesn't display correctly in the menu. It could be a caching issue because I don't see that on my demo site. You can try to re-update the CPT and clear all caches to solve the issue.
-
AuthorPosts