Forum Replies Created
-
AuthorPosts
-
November 26, 2022 at 11:35 AM in reply to: ✅PHP 8 Error after activating "MB Custom Post Types & Custom Taxonomies" #39340
Peter
ModeratorHello AJ,
Thanks for your feedback.
Can you please create a staging site and share the credentials via this contact form?
https://metabox.io/contact/I will take a closer look.
November 26, 2022 at 11:32 AM in reply to: ✅Custom Post Type and Thrive Theme Builder Archives #39339Peter
ModeratorHi there,
You can try to generate the PHP code and add the code to the file functions.php in the theme/child theme folder to register the custom post type then check the feature of Thrive Themes again.
Read more on the documentation https://docs.metabox.io/extensions/mb-custom-post-type/#getting-php-code-1Peter
ModeratorHello there,
Thanks for reaching out.
I think you've got an answer here https://support.metabox.io/topic/adding-a-custom-field-as-a-link-to-an-elementor-button/
So I will mark this topic as Resolved.Peter
ModeratorHello,
You can try to follow this tutorial to increase the PHP setting
max_input_varsto fix the issue
https://metabox.io/wordpress-custom-fields-not-saving-increase-max-input-vars/If it does not help, can you please generate the PHP code of the relationship and share it here? I will help you to investigate the issue.
Peter
ModeratorUnfortunately, it is not possible with Meta Box custom field. You can just display the fields in a separate section.
November 26, 2022 at 11:03 AM in reply to: ✅Frontend submission lis: tIs it possible to list the posts from all users? #39335Peter
ModeratorHello there,
Yes, it is possible. The posts in the frontend dashboard are retrieved by a WP Query, and there is a filter hook
rwmb_frontend_dashboard_query_argsthat supports modifying the arguments. Please read more on the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#dashboard-hooksHere is an example code:
add_filter( 'rwmb_frontend_dashboard_query_args', function( $args ) { // Get the user role $current_user_id = get_current_user_id(); $user_meta = get_userdata( $current_user_id ); $user_roles = $user_meta->roles; // Check if the user has an editor role, remove the argument author // see here https://developer.wordpress.org/reference/classes/wp_query/#author-parameters if( in_array( 'editor', $user_roles, true ) ) { unset( $args['author'] ); } return $args; } );November 24, 2022 at 9:38 PM in reply to: Profile pages using MB User Profile and MB Beaver Builder Integration #39307Peter
ModeratorHello Jan,
1. When registering the user, the user meta is also updated to the user. This feature works as well on my site. Can you please share the code of the field group
user-profileson your site. To get the PHP code, please follow this documentation https://docs.metabox.io/extensions/meta-box-builder/#getting-php-code2. >> since beaver allows you to save rows and then embed them as short codes, could you use metabox shortcodes instead of beaver themer to display content on a page?
You can add the Meta Box shortcode on a page without using the Beaver builder. Or even use the extension MB Conditional Logic to display the fields on the frontend.
https://docs.metabox.io/extensions/meta-box-conditional-logic/November 24, 2022 at 9:22 PM in reply to: Add Cloneable Group using update_post_meta() whilst preserving existing data #39306Peter
ModeratorHello Macky,
Please try to use this code
$payment_meta[0]['fr_payment_amount'] = $this->stripe_pi_amt;The cloneable field is the group field so you need to indicate the key of the array where to update the value.
Peter
ModeratorHello,
Thanks for your feedback.
I got the issue. I've escalated this to the development team to fix it in the next update.
Peter
ModeratorHello,
title_taglineis a section, it is not a panel. If you read the WordPress documentation carefully, you can see that a panel is a wrapper of sections, it will look like this https://monosnap.com/file/ZZdMZOjM4ArQOnpAqiDkidHoV8JIRdTest panel Theme Options with the theme Memory https://gretathemes.com/wordpress-themes/memory/
and find the code register the panel in
wp-content/themes/memory/inc/customizer/customizer.phpline 100Let me know how it goes.
November 24, 2022 at 8:58 PM in reply to: ✅How to make a download-button from "File Upload" field? #39303Peter
ModeratorHello,
Following the documentation, our plugins support outputting the field value with code. If you want to make a download button with a page builder plugin, please contact their support to ask for help with this case.
Or you can use a page builder plugin that has integration with Meta Box like Oxygen, Elementor ... please read more here https://docs.metabox.io/compatibility/Or you can create your own shortcode and put the shortcode into the builder to display a download button.
https://support.metabox.io/topic/adding-a-custom-field-as-a-link-to-an-elementor-button/#post-34356November 24, 2022 at 8:52 PM in reply to: ✅I can not update my field group information in custom field #39301Peter
ModeratorHello,
You can try to follow this tutorial to increase the PHP setting
max_input_varsto fix the issue
https://metabox.io/wordpress-custom-fields-not-saving-increase-max-input-vars/Let me know how it goes.
Peter
ModeratorHello Thomas,
There is no option to remove the custom fields in the backend. When registering the field by code, you can create a condition to check if it is the admin area or not then add the code to register the field. Please refer to this topic https://support.metabox.io/topic/make-only-specific-fields-editable-in-frontend/#post-33787
November 23, 2022 at 10:16 PM in reply to: ✅I can not update my field group information in custom field #39291Peter
ModeratorHello Mariano,
Can you please share some screenshots of the issue on your site?
November 23, 2022 at 10:15 PM in reply to: Display Relationship value in GenerateBlocks dynamic data #39290Peter
ModeratorHello Oliver,
Thanks for reaching out.
Regularly, on our documentation, you need to have a basic knowledge of coding to control how to output the value. If not, you can use the shortcode which you can find here https://docs.metabox.io/extensions/mb-relationships/#shortcode
If it does not work, please let me know how you register the relationship and what is the shortcode that you are using.Regarding GenerateBlocks, I'm not sure if it is compatible with Meta Box to get the relationship. If there is a chance, you can see this article to use the Oxygen builder and display the relationship https://oxyhowto.com/more_hows/how-to-use-meta-box-bi-direction-relationship-in-oxygen-builder/
The integration is officially supported by Oxygen builder. -
AuthorPosts