Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi,
Please try to use the field
single_imagewithoutcloneablesetting and let me know if it works.
https://docs.metabox.io/fields/single-image/Long Nguyen
ModeratorHi Nicholas,
Currently, Meta Box does not have any payment option/extension that integrates with the frontend form. The guide just helps you to create a booking system and collect the user data, not help you to charge the customer online.
You can use WooCommerce and its extension to create a booking system and accept payment online.
https://woocommerce.com/products/woocommerce-bookings/October 5, 2021 at 12:56 PM in reply to: ✅Use MB to allow frontend user to create a Fillable Form as a Post Type. #31156Long Nguyen
ModeratorHi Bob,
Thank you for reaching out.
Please try to use the extension MB Frontend Submission. It helps you to create posts from the frontend form with default post fields and custom fields like the admin area. Get more details on the documentation
https://docs.metabox.io/extensions/mb-frontend-submission/Long Nguyen
ModeratorHi,
The CSS code should be rendered on the backend when you preview the block. But the JS code might not. Please read more here https://docs.metabox.io/extensions/mb-blocks/#enqueue_style
If the CSS code is not rendered, please follow the Debugging Information step to troubleshoot the issue https://support.metabox.io/topic/how-to-create-a-new-topic/
And please let me know how did you enqueue/add the CSS code?
Long Nguyen
ModeratorHi,
Thanks for the feedback.
If you use the code in the Quick Sample section https://docs.metabox.io/extensions/mb-admin-columns/#quick-sample
it is missing closing parenthesis, screenshot https://share.getcloudapp.com/d5uRm6z8I will update the documentation to cover this issue.
October 4, 2021 at 8:57 PM in reply to: ✅Shortcodes disappeared after updating Metabox latest version #31146Long Nguyen
ModeratorHi Huy,
Can you please let me know the shortcodes that disappeared on your site? You can follow the Debugging Information step here to troubleshoot the issue.
October 4, 2021 at 8:50 PM in reply to: min_clone - ability to set the required minimum number of clones. #31145Long Nguyen
ModeratorHi,
There is no setting to set the minimum number of clones for a field. I will inform the development team to explore the possibility.
Long Nguyen
ModeratorHi,
That means a closing parenthesis is missing in your code. Can you please recheck it? Or share the code that you use to create the field?
Long Nguyen
ModeratorHi,
It's very dangerous if you disable the authentication of WP REST API because anyone can manipulate data on your site. MB REST API does not support an option/setting to turn it off. If you do in a testing site, please refer to this topic https://github.com/WP-API/WP-API/issues/1924
Long Nguyen
ModeratorHi,
You can use the HTML tag
<br>,<p>or newline character\nto add a new line.Hello World!\nThis is my stringOctober 4, 2021 at 10:46 AM in reply to: ✅Open Street Map: Unable to scroll to the bottom with fullwidth map #31133Long Nguyen
ModeratorHi,
If the field
osmis the top field, you need to use the helper functionrwmb_meta().echo rwmb_meta( 'osm_map', $args );If the field
osmis a subfield in a group, you need to get the group value first.$group_value = rwmb_meta( 'group_id' ); $args = array( 'width' => '640px', 'height' => '480px', 'js_options' => array( 'doubleClickZoom' => false, 'scrollWheelZoom' => false, ) ); echo RWMB_Map_Field::render_map( $group_value['osm_map'] );Please read more on the documentation https://docs.metabox.io/fields/osm/#template-usage
Long Nguyen
ModeratorHi,
If it's the cloneable group, you need to use a loop to iterate through group elements. For example:
$group_values = rwmb_meta( 'pj_taken' ); if ( ! empty( $group_values ) ) { foreach ( $group_values as $group_value ) { $value = isset( $group_value['pj_taak'] ) ? $group_value['pj_taak'] : ''; echo $value; // Display sub-field value } }Get more details on the documentation https://docs.metabox.io/extensions/meta-box-group/#getting-sub-field-values
October 3, 2021 at 9:00 AM in reply to: ✅Open Street Map: Unable to scroll to the bottom with fullwidth map #31120Long Nguyen
ModeratorHi Kirb,
You can turn off the JS option
scrollWheelZoomof the OSM field. Please read more on the documentation
https://docs.metabox.io/fields/osm/#displaying-the-map
https://leafletjs.com/reference-1.7.1.html#map-scrollwheelzoomOctober 3, 2021 at 8:54 AM in reply to: ✅Trying to set Title from field in CPT From the Custom Fields) #31119Long Nguyen
ModeratorHi,
Please refer to this topic to update the post title with a field value https://support.metabox.io/topic/adding-metabox-field-data-to-the-post-title/
On the backend you might need to use the Classic Editor to reload the page and see the changes.
Long Nguyen
ModeratorHi,
I think creating a cloneable group is a good way. You can add more tasks with a set of tasks for each row.
-
AuthorPosts