Forum Replies Created
-
AuthorPosts
-
September 6, 2022 at 9:15 AM in reply to: List Innerblocks from parent block inside render_template #38188
Long Nguyen
ModeratorHi Nick,
Currently, MB Blocks does not support getting a list of inner blocks or getting the inner block values. I will inform the development team to consider supporting this case in future updates.
September 6, 2022 at 9:07 AM in reply to: ✅not saving to custom table with two custom field groups #38187Long Nguyen
ModeratorHi,
Thanks for your feedback.
Our development team is working on this issue, hopefully it will be fixed soon.
September 5, 2022 at 10:02 PM in reply to: ✅Ajax Form Submission - auto scrolling to the top of the page #38183Long Nguyen
ModeratorHi Nick,
I don't see that issue on my demo site. If the review form does not pass the validation, the browser will jump to the validation message.
September 5, 2022 at 12:47 PM in reply to: iOS media browser scrolls to top of page when closing #38178Long Nguyen
ModeratorHi Glen,
Did you check the issue with the Featured Image option of WordPress?
Long Nguyen
ModeratorHi,
There is no option to change the heading of the default fields, but you can follow this documentation to know how to override the default fields with your own fields https://docs.metabox.io/extensions/mb-user-profile/#edit-default-fields
September 5, 2022 at 11:19 AM in reply to: Custom field blank in backend - present in frontend #38176Long Nguyen
ModeratorHi,
It looks like you are using the sanitization callback to add dots or commas to the number value and save it to the database. Then the field value is not a number, it will be a string/text and in the backend, the value will not display in the field appearance.
Please use the field
textto format the number value in both backend and frontend. Or use the custom field typemultimaskthat is created by an expert Meta Box user https://github.com/badabingbreda/field-text-multimaskSeptember 5, 2022 at 11:09 AM in reply to: ✅Conditional Logic, Advanced Taxonomy Fields with Radio buttons #38175Long Nguyen
ModeratorHi,
Can you please try to deactivate all plugins except Meta Box, MB extensions and switch to the standard theme of WordPress (Twenty TwentyTwo) and recheck this issue? I do not see that issue on my demo site.
September 4, 2022 at 8:52 PM in reply to: iOS media browser scrolls to top of page when closing #38170Long Nguyen
ModeratorHi Glen,
Thanks for your feedback.
This issue comes from the WordPress core itself, Meta Box just uses the media popup of WordPress to upload/select the media files so you can see it happens with MB custom fields.
In this case, I recommend creating a bug report in WordPress Trac https://core.trac.wordpress.org/
or create a topic on the WordPress support forum https://wordpress.org/support/forum/how-to-and-troubleshooting/Long Nguyen
ModeratorHi Pierre,
Thanks for reaching out.
Currently, Meta Box does not support a frontend form that integrates with the checkout page or payment gateways of WooCommerce. I will inform the development team to consider supporting this feature in future updates.
Long Nguyen
ModeratorHi,
Ok, here is the sample code to output the file URL
add_shortcode( 'uploaded_paper_link', function () { $id = get_queried_object_id(); $uploaded_files = rwmb_meta( 'academicpdf', '', $id ); $output = ''; foreach ( $uploaded_files as $uploaded_file ) { $output .= $uploaded_file['url'] . '<br>'; } return $output; });Let me know how if it helped.
September 4, 2022 at 3:40 PM in reply to: 'Staging' is Being Counted Against the Number of Licenses #38166Long Nguyen
ModeratorHi,
Thanks for your feedback.
The development team is working on this issue, I will get back to you later.
Long Nguyen
ModeratorHi,
Please share your site credentials via the contact form again https://metabox.io/contact/, I will help you to investigate the issue.
Long Nguyen
ModeratorHi Yasmine,
Can you please share the code that creates the field
pdf? Is it a subfield in a cloneable group?September 2, 2022 at 10:25 PM in reply to: ✅Button Field: Open "Add New" post in modal window #38159Long Nguyen
ModeratorHi,
Thanks for your feedback.
Currently, MB Relationships does not support an option to open a modal popup and add a new post on this popup. I will inform the development team to explore the possibility.
Long Nguyen
ModeratorHi,
You can use the filter
rwmb_{$field_id}_wrapper_htmlto add some HTML code to the field appearance. For exampleadd_filter( 'rwmb_checkbox_0eihjeboovwn_outer_html', function( $outer_html, $field, $value ) { $outer_html = $field['before'] . "<div class='{$field['class']}'>{$outer_html} - Some Text Here</div>" . $field['after']; return $outer_html; }, 10, 3 );Read more on the documentation https://docs.metabox.io/filters/rwmb-wrapper-html/
Or check the admin area before adding the description for the field. For example:
function your_prefix_function_name( $meta_boxes ) { $desc = ''; if( !is_admin() ) { $desc = 'Field description'; } $meta_boxes[] = [ 'title' => __( 'My Custom Fields', 'your-text-domain' ), 'id' => 'my-custom-fields', 'fields' => [ [ 'name' => __( 'Checkbox', 'your-text-domain' ), 'id' => 'checkbox_0eihjeboovwn', 'type' => 'checkbox', 'desc' => $desc ], ], ]; return $meta_boxes; } -
AuthorPosts