Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi,
Yes, it is possible. You can use the helper function rwmb_set_meta()
add_action( 'init', function() { $group = rwmb_meta( 'group_id', '', 12345 ); $group['atividade_status'] = 'PARALISADA'; rwmb_set_meta( 12345, 'group_id', $group ); }, 99 );where
12345is the post ID. Get more details on this documentation https://docs.metabox.io/rwmb-set-meta/Long Nguyen
ModeratorHi,
Please just type the column ID
usernameoremailorrolenext to the before/after select. Screenshot https://share.getcloudapp.com/v1ubP5jRLong Nguyen
ModeratorHi Yumiko,
This issue has been fixed in the new version of Meta Box AIO 1.13.8. Can you please re-check the conditional logic for subfields? For example
add_filter( 'rwmb_meta_boxes', 'your_prefix_function_name' ); function your_prefix_function_name( $meta_boxes ) { $prefix = ''; $meta_boxes[] = [ 'title' => __( 'Post Meta', 'your-text-domain' ), 'id' => 'post-meta', 'fields' => [ [ 'name' => __( 'Group', 'your-text-domain' ), 'id' => $prefix . 'group', 'type' => 'group', 'save_field' => 1, 'fields' => [ [ 'name' => __( 'Text', 'your-text-domain' ), 'id' => $prefix . 'text', 'type' => 'text', 'save_field' => 1, ], [ 'name' => __( 'Textarea', 'your-text-domain' ), 'id' => $prefix . 'textarea_gzljad6ej2d', 'type' => 'textarea', 'save_field' => 1, 'visible' => [ 'when' => [['group_text', '=', 123]], 'relation' => 'or', ], ], ], ], ], ]; return $meta_boxes; }Long Nguyen
ModeratorHi Heave,
Please update the new version of Meta Box 5.3.10, clear cache, and re-check the issue. If it does not work, please share the code that creates your custom fields, I will help you to check.
Long Nguyen
ModeratorHi Alan,
You can download the plugin on WordPress.org and re-install it
https://wordpress.org/plugins/mb-custom-post-type/Long Nguyen
ModeratorHi,
Please go to Settings > Permalinks and set a custom structure without the end slash, for example: /%postname%
Long Nguyen
ModeratorHi Max,
There are no parameters to pass to the callback function. You can use the loop to show more custom HTML fields when registering the meta box.
Long Nguyen
ModeratorHi,
In the PHP code, you can use the function do_shortcode() to render the shortcode.
echo do_shortcode('[ mbv id="12345" ]');April 27, 2021 at 12:54 PM in reply to: ✅Oxygen/WYSIWYG, Images, Video fields output to Array not an image or video #27684Long Nguyen
ModeratorHi Anthony,
It outputs an array that means we need to create a loop to iterate through array elements, just like the field
group. Refer to these topics
https://support.metabox.io/topic/oxygen-builder-output-a-repeater-field/
https://wordpress.org/support/topic/file-advanced-returns-the-emptiness/Long Nguyen
ModeratorHi,
Thanks for your feedback.
Currently, the suggestion column does not show the default user column IDs, you should add them manually. I will inform the development team to support this case.
Long Nguyen
ModeratorHi Julian,
The number index only support for
group_titlesetting, see more here https://docs.metabox.io/extensions/meta-box-group/#collapsible-groupsI'm going to create a feature request for the developer team and add it to the to-do list for the future development of the plugin.
April 27, 2021 at 12:31 PM in reply to: ✅Save Google Analytics and website settings in Metabox Settings #27681Long Nguyen
ModeratorHi,
Yes, you can save site settings on the Settings page, just like the Theme Options and it does not slow down the site speed. See more on this article https://metabox.io/create-settings-page-customizer-options/
Long Nguyen
ModeratorHi,
Thank you for reaching out.
The plugin integration between Meta Box and Genesis is on our backlog development. The developer team will try to create the code but not in a short time. You can also refer to this snippet to do by coding.
Long Nguyen
ModeratorHi Max,
Thank you for reaching out.
- As I understand, you want to create a table that shows the list of posts and some information (price, label ...) on the settings page. I think you can use a loop to show it without using 15 callback functions.
-
If you want to change the display of the field type
custom_html, please use the filterrwmb_{$field_id}_htmlorrwmb_{$field_type}_htmlbecause this field does not save the meta value in the database.
add_filter( 'rwmb_head_standart_html', 'your_filter_function', 10, 3 ); function your_filter_function( $field_html, $field, $meta ) { if ( 'head_standart' == $field['id'] ) { $field_html = '<div class="my-class">My Custom HTML</div>'; } return $field_html; }Get more details on the documentation https://docs.metabox.io/filters/#rwmb_field_type_html
Long Nguyen
ModeratorHi,
The Frontend Submission form has some CSS code to display adaptly for other screens. Can you please remove the custom CSS code and re-check it?
-
AuthorPosts