Forum Replies Created
-
AuthorPosts
-
July 20, 2023 at 10:47 PM in reply to: ℹ️[REQUEST] Create a set of custom fields that you can call from the builder #42701
Peter
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.Peter
ModeratorHello,
Please let me know where is the custom fields lost. On the editing page or in the field group? Is the field value still saved in the database?
If you have a backup file, please restore it to get the fields back.
July 19, 2023 at 11:31 PM in reply to: WYSIWYG Custom Field Code Being Sanitized Even With Sanitization Off #42674Peter
ModeratorHello,
I see that issue on my demo site, it works like the plugin Classic Editor. The
<p>tag will be added to the paragraph text in the frontend with the function wpautop().
If I switch between tab Text and Visual, the<p>tag added manually will be scrubbed.Peter
ModeratorHello,
You can use the function is_admin() to check if it is the admin area and remove the query args. For example:
add_filter( 'rwmb_normalize_kind_of_stuff_field', function( $field ) { if( is_admin() ) { $field['query_args'] => []; } return $field; });Peter
ModeratorHello,
In the case of using Bricks Builder, please reach out to them if you have any issues with installation, configuration, compatibility, or usage.
Refer to our support policy https://metabox.io/support/topic/support-policy/Peter
ModeratorHello,
Thanks for your feedback.
Currently, it's not possible to save each subfield value (in a group) to a separate column in the custom table. It will be saved to one column which is the
groupfield ID.For the cloneable field, if you do not add the max clones, the cloneable is unlimited. Please check this screenshot https://imgur.com/8sgrjvs
Peter
ModeratorHello,
As noted in the documentation https://docs.metabox.io/fields/range/
it's the HTML5 range field. You can see more here https://www.w3schools.com/howto/howto_js_rangeslider.aspIf you want to create a custom range slider field type, please follow the documentation https://docs.metabox.io/creating-new-field-types/
Peter
ModeratorHello,
The default value is still saved to the database on my demo site. Just the issue is, the default value does not display the selected time in the picker.
Peter
ModeratorHello,
In this case, I recommend contacting Bricks support to ask for getting the user ID in the loop/user query.
-
AuthorPosts