Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello,
That is expected when there is no content to render, the text "Block rendered as empty." will be displayed. You should add some static content to the block template to replace the text.
July 14, 2024 at 12:01 AM in reply to: ✅Avoiding Custom Field Duplication Across Multiple CPTs in BricksBuilder #45897Peter
ModeratorHere is an example https://imgur.com/2XScFBN
create a field group with some specific fields and assign the field group to more CPTs.July 12, 2024 at 11:26 PM in reply to: Issue with Elementor grid loop in archive template when query is Current Query #45895Peter
ModeratorHello,
Yes, I check the source: Current query and understand the issue https://imgur.com/WAkJYY1
It happens when you share the taxonomy (Category) between CPTs. By default, category taxonomy is assigned to Post. But there is no post belonging to the Post CPT, there are some posts belong to Course and Product CPTs.
If you use the Current query source, then there is no post (Post CPT) displayed in the frontend. It should be an issue between Elementor and WordPress, Meta Box is not related in this case. You can deactivate Meta Box, create some CPTs with code and recheck this.
July 12, 2024 at 11:07 PM in reply to: Custom table should not try to delete cache if Objec_id is null #45894Peter
ModeratorHello Thomas,
Yes, the delete cache function will do nothing if the variable $object_id is null. You can take a look at this file /mb-custom-table/src/Cache.php line 59
public static function delete( ?int $object_id, string $table ) { if ( ! $object_id ) { return; } wp_cache_delete( $object_id, self::get_cache_group( $table ) ); }July 12, 2024 at 10:44 PM in reply to: How to set MetaTitle and MetaDescription for Custom Post Type Archive Page? #45893Peter
ModeratorHello Phillip,
we are wondering what can be done with MB Views?Yes, it can be done with MB Views. You can create a view template, type Action, hook to the action
wp_head, set the location archive page to show the meta tag in the header of the archive page.
Please check this screenshot https://imgur.com/koj7LPBPeter
ModeratorHello,
It's not for a security reason, just the limitation of a PHP setting and you will need to increase this to allow more input variables to be saved.
For the second question, it depends on your requirements. But I think you can use more field groups to manage the custom fields more easily.Peter
ModeratorHello Topher,
There isn't an option to add the placeholder to the pencil icon. I think you can set the block position to the sidebar, the block settings will display in the sidebar without the pencil icon.
Peter
ModeratorHello,
I'm afraid that it isn't possible. You can sort the user by using the setting
query_argsbut not possible to sort the custom label displayed by custom code.July 10, 2024 at 8:39 PM in reply to: Map field default location in clonable group....via AJAX? #45879Peter
ModeratorHello,
If you want to view the submitted post from the frontend form, you can use the frontend dashboard. Then click on the post title to view the post.
Following the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#user-dashboardJuly 10, 2024 at 8:32 PM in reply to: ✅Avoiding Custom Field Duplication Across Multiple CPTs in BricksBuilder #45877Peter
ModeratorHello,
There isn't a global custom field. A field has to be associated with a post. You can create a specific field group with some fields and assign it to more CPTs. Then you will have the same field ID for all posts of those CPTs.
July 10, 2024 at 8:27 PM in reply to: Don't know where the settings are and no longer working upon upgrading #45876Peter
ModeratorHello Jacques,
You can share your site admin account by submitting this contact form https://metabox.io/contact/
I will take a look.Peter
ModeratorHello Christian,
If you use the custom table to save the field value, please follow the documentation
https://docs.metabox.io/extensions/mb-custom-table/#getting-field-value
to get the field value.July 10, 2024 at 8:15 PM in reply to: Issue with Elementor grid loop in archive template when query is Current Query #45874Peter
ModeratorHello Jackie,
As I mentioned above:
1. This is the post type archive page https://centuries-of-leadership.com/products/ - where you can use the current query option of Elementor template to show posts.
2. This is the taxonomy archive page
https://centuries-of-leadership.com/category/government
https://centuries-of-leadership.com/category/military/
where you have to use the query course and select a specific taxonomy to show posts.It is the feature of Elementor template itself and I don't think it is related to Meta Box in this case. You can try to contact Elementor support to get more information.
July 9, 2024 at 9:55 PM in reply to: ✅Avoiding Custom Field Duplication Across Multiple CPTs in BricksBuilder #45866Peter
ModeratorHello Tobias,
If you want to have a global field, please consider using the settings page with custom fields like the theme options. Please follow the documentation
https://docs.metabox.io/extensions/mb-settings-page/Peter
ModeratorHello Artur,
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.
-
AuthorPosts