Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHmm, I do not see any issue with the provided information. Please share your site credentials via this contact form https://metabox.io/contact/
and let me know where I can see the issue on your site.Peter
ModeratorHello,
I import the shared JSON file to my local host, assign it to a post type, create a new post and add some value to the custom fields but do not see any issue.
You can try to delete some choice fields in the field group on your site like checkbox, radio, taxonomy ... and check this issue again.
Peter
ModeratorHello,
I do not see the relationship ID in the screenshot, can you please take a full screenshot?
April 21, 2023 at 6:19 PM in reply to: Using Meta Box Field to Restrict Content to Logged-in Users #41576Peter
ModeratorHello Bret,
I suggest you can try to add all arguments to the helper function
rwmb_meta(), for example:rwmb_meta( 'privacy', '', 123 );where 123 is the attachment ID. Because the helper function is not executed in a loop so you need to add the post ID to the third argument.
Or you can try to use the function
get_post_meta()if the code is executed earlier than theinithook with priority 20.Please read more on the documentation
https://docs.metabox.io/functions/rwmb-meta/
https://developer.wordpress.org/reference/functions/get_post_meta/Peter
ModeratorHello,
Please share a screenshot of the relationship settings or generate the PHP code and paste it here, I will check if there is an issue with the settings.
You may try to change the relation parameterfromtotoand add a specific post ID instead offilmmaker.IDto see how it works.Peter
ModeratorHello,
I do not see any issue with that relationship settings. Please share your site credentials via this contact form https://metabox.io/contact/ and let me know where I can see the issue. I will take a closer look.
Peter
ModeratorHello,
You are talking about the form not saving data, I see the data is still saved as well. Now you say the value does not display on the frontend. It depends on the code that you output the value.
I see one issue is: the field ID when creating the field group has the prefix
cohowhile the field ID in the View template on your site does not. That is why the code to get the field value is not working.Peter
ModeratorHello,
I got the issue. There is a group that has the same ID as the field post content, standard of WordPress, that causes the issue:
content
I change the group ID tocontent_1then save the post and field values properly.Peter
ModeratorHello,
Somehow the pastebin link does not work on my side. Can you please upload it to another hosting and share the URL here?
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/Let me know how it goes.
Peter
ModeratorHello,
The user role permission is beyond the scope of support of Meta Box. However, if you want to remove the Meta Box menu for a specific role, please follow this topic https://support.metabox.io/topic/hiding-meta-box-plugin-from-wordpress-dashboard-menu-for-non-admins/
Peter
ModeratorHello,
Thanks for following up.
Our development team is working on this issue. I will let you know when I have any infomration.
Peter
ModeratorHello,
I think the CPT slug should be in lower case like
filmorfilmmaker, please follow the documentation https://docs.metabox.io/extensions/mb-custom-post-type/#post-type-settingsPeter
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--import -
AuthorPosts