Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello,
I've tested to submit the frontend submission form on your site and see it works correctly. A new post of post type Form was created and saved field value. The field group is assigned to two CPTs so if you want to create a post for a specific CPT, please select it in the block settings. Screenshot https://monosnap.com/file/qER5EydWG5rNaVycFYYmld0TZjfkN4
Peter
ModeratorHello,
Thanks for reaching out.
Can you please let me know the scenario? Where and when this happens? Did you migrate ACF fields to Meta Box?
Please export the field group to a JSON file and share it here. I will import it to my local site and check the issue. Please refer to the documentation
https://docs.metabox.io/extensions/meta-box-builder/#export--importPeter
ModeratorHello,
Thanks for your feedback.
Our development team is aware of this issue and is working on it. I will let you know when I have any information.
Peter
ModeratorHello,
Can you please share some screenshots of the relationship setup between user and provider post?
Peter
ModeratorHello,
Apply the code on my local site and submit some test posts, I do not see that issue. Can you please submit some posts and see how it goes?
I also do not see the redirection attribute in the frontend submission form, please read more here https://docs.metabox.io/extensions/mb-frontend-submission/#submission-form
How do you redirect the form on your site after submitting a post?Peter
ModeratorHello,
In case of using Oxygen Builder, please reach out to them if you have any issues with installation, configuration, compatibility, or usage.
Refer to our support policy https://metabox.io/support/topic/support-policy/I also recommend following the documentation to output the term meta value https://docs.metabox.io/extensions/mb-term-meta/#getting-field-value
Peter
ModeratorHello Will,
Our development team is working on this issue, I will let you know when I have any information.
Peter
ModeratorHello,
userIDshould be a numeric value, I leave the text for reading. You should replace it with the user ID or author of the given post. For example:from: 123If you don't know how to get the post author, please read more here https://stackoverflow.com/questions/19176691/get-author-id-of-a-post-in-wordpress
If you are not able to complete the task, please try to create a customization service request here https://metabox.io/contact/
Our development team will help you with an extra fee.April 18, 2023 at 6:30 PM in reply to: ✅Can`t update some extentions to latest versions using composer #41527Peter
ModeratorHello Bart,
Please use this code to update the latest versions of MB plugins with Composer
rm -rf vendor && composer clear-cache && composer installRead more in the documentation https://docs.metabox.io/integration/#why-cant-i-update-with-composer
Peter
ModeratorHello,
I think it is possible. You can create an
ifstatement to set the relationship arguments. For example:if (something) { $relationship = [ 'id' => 'post-provider', 'to' => get_the_ID() ]; } else { $relationship = [ 'id' => 'resource-provider', 'to' => get_the_ID() ]; }then assign the value to the
relationshipkeyreturn array_merge( $query_args, array( 'relationship' => $relationship ) );Peter
ModeratorHello Will,
Please use this code in View to get the switch value and output the field label Yes/No
{% set switch = mb.rwmb_meta( 'vacation_mode', { object_type: 'setting' }, 'vacation' ) %} {{ mb.checkbox( switch, 'Yes', 'No' ) }}Assume that:
vacationis the option name andvacation_modeis the switch field ID.Peter
ModeratorHello,
For tracking the issue easier, I recommend using the function
get_posts()to get posts related to a user.{% set args = { post_type: 'provider', relationship: { id: 'user-provider', from: userID } } %} {% set posts = mb.get_posts( args ) %} {% for post in posts %} ... {% endfor %}The main issue here is you need to pass the correct userID to the arguments to get related posts. Please read more in the documentation https://docs.metabox.io/extensions/mb-relationships/#posts
https://docs.metabox.io/extensions/mb-views/#custom-queryPeter
ModeratorHello,
I do not see that issue on my demo site. Can you please test this issue with a clean installation of WordPress and Meta Box? You can also try to deactivate all plugins except Meta Box, MB AIO, switch to a standard theme of WordPress and see how it goes.
Peter
ModeratorHello Mark,
I do not receive your site information. Can you please resend it?
Also, with the new version of Meta Box AIO 1.20.2 or MB Frontend Submission 4.3.0, you can use the block
[Meta Box] Submission Formto create a frontend form with the Gutenberg block.Peter
ModeratorThank you for sharing the solution.
-
AuthorPosts