Forum Replies Created
-
AuthorPosts
-
February 13, 2025 at 11:25 PM in reply to: Issue with saving field value when block has a number field #47652
Peter
ModeratorHello Cedric,
Thanks for your feedback.
Can you please share the code that you use to register the custom block and output the block data? I'm not able to reproduce the issue on my site. If you are using the builder, you can follow the documentation to export the field group to a JSON file
https://docs.metabox.io/extensions/meta-box-builder/#export--importFebruary 13, 2025 at 11:15 PM in reply to: ✅File uploads in cloneable groups in not showing in Rest #47651Peter
ModeratorHello Marcus,
That is expected. The subfield value in a group saves only the raw value. It is the media file ID in this case.
So it doesn't return meaningful value like when you use the field as a top field (outside of a group field). I suggest you create a custom route and use the functionRWMB_File_Field::file_info( $image_id )to get the file info and send it via Rest API.Following the documentation https://docs.metabox.io/extensions/meta-box-group/#sub-field-values
Peter
ModeratorHello Julien,
Thank you for your feedback.
There is an issue with the block preview and I've escalated this to the development team to fix it. I will get back to you when I have more information.
February 12, 2025 at 11:12 PM in reply to: Custom Registration, Login, and Forgot Password forms with Meta Box #47645Peter
ModeratorHello John,
As I explained in this topic https://support.metabox.io/topic/how-to-make-centralized-my-account-page-with-custom-and-woocommerce-meta/
you can use the user profile forms to have some custom registration, login, register forms based on the field group and custom fields on your site. You can add the form shortcodes to any page and show the form in the frontend. Following the documentation https://docs.metabox.io/extensions/mb-user-profile/
February 12, 2025 at 11:07 PM in reply to: How to make centralized My Account page with Custom and WooCommerce Meta??? #47644Peter
ModeratorHello John,
You can use the extension plugin MB User Profile to add a user profile form to a page and show a form to edit the user meta fields that are created by Meta Box plugin.
Please follow the documentation https://docs.metabox.io/extensions/mb-user-profile/And it doesn't support including the WooCommerce user meta fields in the user profile form. They have a different way to register the user meta field.
February 12, 2025 at 10:03 PM in reply to: How to customize appearance of front-end user submission form using Kadence #47643Peter
ModeratorHello John,
The frontend form block doesn't support options to customize the form like the builder. If you want to change the style of the submit button or other elements, you can create some custom CSS code to change the style.
Thanks.
February 12, 2025 at 9:49 PM in reply to: How to select one or multiple users as (co-)authors of a custom post type post #47642Peter
ModeratorHello John,
You can use the
userfield or create a relationship between users and the post type to select more users per post. Then follow the documentation to output the user in the frontend with code.
https://docs.metabox.io/fields/user/
https://docs.metabox.io/extensions/mb-relationships/February 10, 2025 at 10:47 PM in reply to: ✅How to sort returned posts on CF day if selected posts are for CF month #47634Peter
ModeratorHello Eddy,
The parameter
meta_keydoesn't exist under the parameterorderbywhen you use the function get_users(). Following the WordPress documentation
https://developer.wordpress.org/reference/classes/wp_user_query/#order-orderby-parametersYou can try to use this query args
{% set args = { meta_query: [ { key: 'verjaardag_maand', value: '2', compare: '=' } ], meta_key: 'verjaardag_dag', orderby: 'meta_value_num', order: 'asc', posts_per_page: -1 } %} {% set users = mb.get_users(args) %}or ask about the user query args in the WordPress support forum https://wordpress.org/support/forum/how-to-and-troubleshooting/
Peter
ModeratorHello,
You can get the list of relationship IDs (type) from the table wp_mb_relationships. Please check this screenshot https://imgur.com/uU4tYMh
Then use some custom code to localize the data in the frontend and use that value.Peter
ModeratorHello Tanja,
Do you use the field type
iconof Meta Box? You can use the PHP code to output the field value, following the documentation https://docs.metabox.io/fields/icon/#template-usageor contact Bricks support and ask them to make the compatibility with Meta Box SVG icon field or SVG icon from other plugins.
Peter
ModeratorHello,
I suggest you use the relationship Rest API to get the relationship data. Please follow the documentation https://docs.metabox.io/extensions/mb-relationships/#rest-api
However, please notice that we don't support customization code, refer to our support policy https://support.metabox.io/topic/support-policy/
February 9, 2025 at 8:59 PM in reply to: Metaboxes Have All Dissapeared From Settings Page After Latest Update #47625Peter
ModeratorHello Paul,
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/Refer to this topic https://support.metabox.io/topic/customer-fields-will-not-assign-to-custom-post-type/
Peter
ModeratorHello,
Please share your site admin account via this contact form https://metabox.io/contact/
I will take a look.Peter
ModeratorHello,
You can try to increase the value to 50k or 100k and recheck the issue.
Let me know how it goes.
February 7, 2025 at 11:08 PM in reply to: Cloneable fields group with advanced image field: images not always shown #47619Peter
ModeratorHello,
I cannot say when the fix is released. But it has been escalated to the development team and we will work on it as soon as possible.
Thank you.
-
AuthorPosts