Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello,
The
regionoption is optional, not required. So if you want to populate all regions, please don't set it up.Peter
ModeratorHello Kevin,
Thanks for your feedback.
Currently, we do not support adding a custom control type because it is related to the processing field settings. If the client lacks coding knowledge, you can suggest they use the WYSIWYG field to output HTML value in the front end.
July 22, 2023 at 10:56 AM in reply to: Field values not loading for specific Field group on posts #42718Peter
ModeratorHello,
Please check the option "Save field value" if it is disabled. If yes, please enable it and recheck this issue. See this screenshot https://monosnap.com/file/boUvSTyR4Kmm5Ls0wmDiELKehY7Lkb
July 22, 2023 at 9:20 AM in reply to: ✅Post field: how to search items by a specific custom field and not by title? #42717Peter
ModeratorHello,
Before, the
postfield supported searching by title or content (keywords) as WordPress does and returns the post title. But it was confusing for users when they cannot find their posts if there are many posts. Then we only support searching the post by title.If you are familiar with coding, please try to use the filter hook
rwmb_ajax_get_postsand take a look at the file wp-content/plugins/meta-box/inc/fields/post.php line 34.I hope that helps.
July 22, 2023 at 8:48 AM in reply to: Relationship setup (following schema.org and Google rich snippets) #42716Peter
ModeratorHello,
Follow the GenerateBlocks Query Loop documenation, you can use the filter hook
generateblocks_query_loop_argsto add a custom argument to display the related posts. For example:add_filter( 'generateblocks_query_loop_args', function( $query_args, $attributes ) { // apply filter if loop has class: metabox-related-posts if (! is_admin() && ! empty( $attributes['className'] ) && strpos( $attributes['className'], 'metabox-related-posts' ) !== false) { $query_args = array_merge( $query_args, array( 'relationship' => [ 'id' => 'posts_to_pages', 'from' => get_the_ID(), // You can pass object ID or full object ], )); } return $query_args; }, 10, 2 );I recommend contacting GenerateBlocks support for further assistance. And read more about query in the documentation
https://docs.metabox.io/extensions/mb-relationships/#getting-connected-items
https://docs.generateblocks.com/article/order-query-loop-by-custom-field/Peter
ModeratorHello,
Currently, it isn't possible. MB Favorite Posts plugin does not support an option to bookmark a category or allow users to define their own categories like that.
I will forward this topic to the development team to consider implementing a feature to support this. Thanks.
Peter
ModeratorHello Sven,
Please make sure you have the latest version of Meta Box AIO 1.21.4 or MB Elementor Integrator 2.1.10 then check this issue again.
July 20, 2023 at 10:54 PM in reply to: [REQUEST] Need a MB developer for frontend customization for Gutenberg #42702Peter
ModeratorHello,
You can hire an expert developer here https://www.codeable.io/ or contact us here https://metabox.io/contact/
our development team will help you with their best.July 20, 2023 at 10:47 PM in reply to: ℹ️[REQUEST] Create a set of custom fields that you can call from the builder #42701Peter
ModeratorHello,
Currently, it's not possible with the builder. But it's an interesting idea. I will forward this topic to the development team to consider implementing a feature to support a set of fields.
Peter
ModeratorHello,
It is a little bit difficult to remove the query args in the admin area if you use the field type
select_advanced. Please use this code to do that:add_filter( 'rwmb_normalize_taxonomy_hke7085j6ft_field', function( $field ) { if( is_admin() ) { unset( $field['query_args']['exclude'] ); unset( $field['js_options']['ajax_data']['field']['query_args']['exclude'] ); } return $field; } );July 20, 2023 at 10:02 PM in reply to: ✅Meta Box field values are not saving after switching the post type #42698Peter
ModeratorHello,
Please check the option "Save field value" if it is disabled. If yes, please enable it and recheck this issue. See this screenshot https://monosnap.com/file/boUvSTyR4Kmm5Ls0wmDiELKehY7Lkb
Peter
ModeratorHello,
Following the guide, you should use the field type
single_image. If you want to use the fieldimage_advanced, you can use the functionreset()to get the first-one image. For example:$favicon = rwmb_meta( 'favicon', [ 'object_type' => 'setting' ], 'site-identity' ); $favicon = reset( $favicon );Read more in the documentation https://docs.metabox.io/fields/image-advanced/
Peter
ModeratorHello,
I've escalated that issue to the development team to fix it in future updates. The main goal here is the default value of the time picker field could be saved to the database properly.
July 20, 2023 at 9:26 PM in reply to: How to Display Custom Fields data at frontend beautifully? #42695Peter
ModeratorHello,
MB Views works like a code editor, it does not work as a Visual editor like Gutenberg or a page builder. You have to create HTML and CSS code to style the outputted data on your site.
Even using the MB Blocks to create custom blocks you also need to use the code to output the field value.
Please read more in the documentation
https://docs.metabox.io/extensions/mb-blocks/
https://docs.metabox.io/extensions/mb-views/Peter
ModeratorHello,
So the field group lost its custom fields, didn't it? If yes, I think the issue happens when you edit the field group and click the Update twice (first is Update, second is Update when the fields are not loaded fully).
If there are many administrators on your site, please tell other ones don't edit the field group and observe this issue to know how this happens. -
AuthorPosts