Forum Replies Created
-
AuthorPosts
-
June 21, 2024 at 10:29 PM in reply to: How do I add a class to the favourite post button and icon? #45682
Peter
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[] = [ ... ]; }June 11, 2024 at 10:43 PM in reply to: How do I add a class to the favourite post button and icon? #45637Peter
ModeratorIf you use the Inspect tool of the browser, do you see the custom class added to the button element? Please check this screenshot https://imgur.com/a/hnLxnkI
If yes, then the issue lies in your custom CSS code, not in the class itself.
Peter
ModeratorHello Sheldon,
Can you switch the theme to a WordPress theme and recheck this?
June 11, 2024 at 8:43 PM in reply to: How do I add a class to the favourite post button and icon? #45633Peter
ModeratorHello Yasmine,
You can use the shortcode to add your own custom class to the button
[mbfp-button class="my-custom-class"]Please follow the documentation https://docs.metabox.io/extensions/mb-favorite-posts/#shortcodes
Peter
ModeratorHello Alex,
You are right. There is an issue with the field type
select_treeandrequiredattribute. I've escalated this issue to the development team to fix it soon.Thank you.
-
AuthorPosts