Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello,
You can try to use the text field and save the same format value as the map field:
latitude,longitude,zoom. It would work with other plugins and if you want to output the map in the frontend, please follow the documentation https://docs.metabox.io/fields/map/#template-usagePeter
ModeratorHello,
The module Meta Box Field in the Divi builder doesn't support opening the image in a lightbox. You can contact Divi support to get more information. Or follow the documentation to use some custom code
https://help.elegantthemes.com/en/articles/2730977-opening-divi-modules-in-a-lightboxPeter
ModeratorHello,
If you want to set the value manually, you can access the database, table wp_postmeta and update the field value. Please follow the documentation https://docs.metabox.io/fields/map/
Or use the function to update the value with code
https://docs.metabox.io/functions/rwmb-set-meta/
https://developer.wordpress.org/reference/functions/update_post_meta/June 21, 2024 at 10:31 PM in reply to: Getting errors when using a custom field with rwmb_meta id #45683Peter
ModeratorHello,
I suggest you use the WYSIWYG field, add the Modula shortcode to the field, and use the Meta Box shortcode only without the Oxygen builder. If it still doesn't work, I think the Modula shortcode doesn't work in another shortcode.
June 21, 2024 at 10:29 PM in reply to: How do I add a class to the favourite post button and icon? #45682Peter
ModeratorYou can change the favorite icon from the admin area > Settings > Favorite Posts > Icon tab.
June 20, 2024 at 10:47 PM in reply to: Getting errors when using a custom field with rwmb_meta id #45676Peter
ModeratorHello Tobias,
Do you use the WYSIWYG field to add the Modula gallery shortcode to the field value? Also, please try to add the Modula shortcode directly to the post content without using the WYSIWYG field and Oxygen builder to see if it works.
Peter
ModeratorHello,
It uses the standard functions of WordPress wp_insert_post(), wp_update_post() to create/update the post. You can take a look at the file /mb-frontend-submission/src/Post.php line 54-70.
June 19, 2024 at 7:36 PM in reply to: rwmb_get_object_fields() not respecting advanced location rules #45669Peter
ModeratorHello Ryan,
The function rwmb_get_object_fields() gets the list of custom fields for a specific object. So I think it works correctly. Please read more about this function in the documentation
https://docs.metabox.io/functions/rwmb-get-object-fields/If you want to get the field group (meta box) settings, please try to use the function rwmb_get_registry()
https://docs.metabox.io/functions/rwmb-get-registry/June 18, 2024 at 9:43 PM in reply to: ✅How to set up relationships between a CPT to WooCommerce Product Variations? #45663Peter
ModeratorHello,
You can setup a relationship between a CPT and a WooCommerce variation, please check the attached screenshot.
But please notice that, there isn't a relationship meta box in the Product data section when editing the product of WooCommerce. That means you can select the relation variation when editing the post of the CPT only.Peter
ModeratorHello Andrew,
There is only one code that can work on a page. I think the view is assigned to the book series location and the
toside (to book series) will work to show the book.You can create a new view template, assign it to the book location and the
fromside (from book) will work to show the book series.If that isn't the case, please share the view template settings on your site.
Peter
ModeratorHello,
Thank you for your feedback.
This issue has been fixed in a new commit and it will be included in the next update of MB Blocks plugin.
Peter
ModeratorHello Nitesh,
Please share your site admin account and details of the issue by submitting this form https://metabox.io/contact/
I will take a look.Peter
ModeratorHello,
You can create your own custom CSS and JS code to make the submit button float. Following this article https://www.linkedin.com/pulse/creating-floating-button-css-javascript-step-by-step-chowdhury-proma/
Supporting the custom code is beyond our scope, please refer to this support policy https://support.metabox.io/topic/support-policy/
Peter
ModeratorHello Nick,
Yes, it is possible. You will need to create some custom code to create the table and get data from the database directly and show data in the table. Refer to the WordPress documentation https://developer.wordpress.org/plugins/settings/custom-settings-page/
Peter
ModeratorHello Nick,
You can use the function
is_admin()to check if the current screen isn't in the admin area, then load the meta box.if ( !is_admin() ) { $meta_boxes[] = [ ... ]; } -
AuthorPosts