Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi,
Editing the user role is beyond the scope of support of Meta Box. You can use a third-party plugin to edit the user role, such as https://wordpress.org/plugins/user-role-editor/
September 11, 2022 at 9:19 PM in reply to: ✅Would it be possible to extract the classes/variables from a plugin #38262Long Nguyen
ModeratorHi,
Meta Box does not support an option/feature to extract classes from a CSS file. I recommend contacting an expert developer to help you in this case.
Long Nguyen
ModeratorHi,
For the select field, you can use the setting
disableto prevent the user from selecting the option and set the default value for the field to save the field value to the database. For example:[ 'name' => __( 'Select', 'your-text-domain' ), 'id' => 'select_67b3inmhfgs', 'type' => 'select', 'options' => [ 'a' => __( 'A', 'your-text-domain' ), 1 => __( '1', 'your-text-domain' ), 2 => __( '2', 'your-text-domain' ), 3 => __( '3', 'your-text-domain' ), ], 'std' => 2, 'disabled' => true, ],Long Nguyen
ModeratorHi,
You should replace
group_field_idwith your group field IDmontag_gerichte. The IDmenue-cf-groupis the field group (meta box) ID.Long Nguyen
ModeratorHi,
Thanks for the additional information.
In this case, I think you can use the filter
rwmb_normalize_fieldto add options for the select field and you can run your custom function to get the options. Please read more on the documentation https://docs.metabox.io/filters/rwmb-normalize-field/Long Nguyen
ModeratorHi,
I'm not able to reproduce that issue on my site. Other admin columns of custom taxonomies still work as well on your site so I think it might be a conflicting issue with another plugin or a block of code.
Please try to deactivate all plugins except Meta Box, MB extensions, switch to the standard theme of WordPress and recheck this issue.
You can also try to create a new taxonomy and see if it works.Long Nguyen
ModeratorHi,
Currently, the field elevation is not supported to populate the value. I will inform the development team to consider supporting this feature in future updates.
Long Nguyen
ModeratorHi Ole,
The conditional logic does not work with admin columns, it is just the JS code to show/hide elements on a page (display none). If you want to customize the field value in the admin column, please follow this topic
https://support.metabox.io/topic/icons-instead-of-values-to-indicate-a-confirmed-account-as-a-user-admin-column/#post-36979Long Nguyen
ModeratorThanks for your confirmation. Let me know if you need anything further.
Long Nguyen
ModeratorHi,
Please share your site credentials via this contact form https://metabox.io/contact/
I will take a closer look.Long Nguyen
ModeratorHi Arno,
The translation text displays as well on my demo site, here is the screen record https://monosnap.com/file/dqnBAr28wdYPOqXVamzAQdjm64IV9x
Long Nguyen
ModeratorHi,
Currently, there is no option to change the field type radio list of the field
taxonomyto single lines. But you can use this custom CSS code with the plugin Admin CSS MU to apply the code in the admin area to display options in single lines..rwmb-taxonomy-wrapper .rwmb-input-list li { display: block; }Long Nguyen
ModeratorHi,
Yes, correct. If the custom field value is stored in the custom table, please follow this documentation to get posts by field value https://docs.metabox.io/extensions/mb-custom-table/#query-posts-with-wp_query
Long Nguyen
ModeratorHi,
The sample code is already added to the documentation (section Outputting group with page builders), please check it here https://docs.metabox.io/extensions/meta-box-group/#outputting-group-with-page-builders
If you are not familiar with coding, you can use a page builder like Elementor, it fully compatible with Meta Box, MB Group to display subfield values.
Or hire an expert developer to help you to build your site.Long Nguyen
ModeratorHi,
You can use a callback function to return an array of
valueandlabelfor the select options as well. Here is the demo codeadd_filter( 'rwmb_meta_boxes', 'your_prefix_function_name' ); function your_prefix_function_name( $meta_boxes ) { $meta_boxes[] = [ 'title' => __( 'My Custom Fields', 'your-text-domain' ), 'id' => 'my-custom-fields', 'fields' => [ [ 'type' => 'select_advanced', 'name' => esc_html__( 'Supervisor', 'apms' ), 'id' => 'supervisor_id', 'options' => my_func9999(), 'required' => true, 'js_options' => [ 'placeholder' => esc_html__( 'Choose Supervisor', 'apms' ), ], 'admin_columns' => true ] ], ]; return $meta_boxes; } function my_func9999() { return [ 'a' => 'A', 1 => 1, 2 => 2, 'b' => 'B' ]; } -
AuthorPosts