Custom Fields showing on Field Group setting page
- This topic has 5 replies, 2 voices, and was last updated 3 years, 4 months ago by
Long Nguyen.
-
AuthorPosts
-
May 30, 2022 at 4:25 AM #36238
AnLip
ParticipantSi this is quite curious : I have a Field Group named "Médias-Photos-Fields" set to be used on Post Types "media-photos". But ever since I returned on this site to make sure Oxygen Builder update to 4.0 was working fine, I realised this problem : the field group's fields appear on the page of the Field Group. What I mean is : while I try to modify (or simply update) the page where the Field Group has been created (MB > Custom Fields > Field Group > Fields/Settings page), it is not possible since the fields appear at the bottom of the page, as if they needed to be filled in ! But it makes no sense since they should only appear of a custom post page, not in the page used to create them ! I think a screenshot will make you understand what I mean.
https://pasteboard.co/QCzKzT79A9d4.png
And this happens on every page of every Field Group : the fields are shown at the bottom, and require to be filled in or refuses to save the page ! Therefore no way to change anything !!! What is this ?
ThanksMay 30, 2022 at 12:46 PM #36240Long Nguyen
ModeratorHi,
Please export the field group and share it here. I will help you to fix the issue.
Refer to this documentation https://docs.metabox.io/extensions/meta-box-builder/#export--importMay 30, 2022 at 3:18 PM #36243AnLip
ParticipantHi Long, Thank you for your answer. Please find attached two field groups that have the same issue (all of my 10 field groups actually have this issue).
https://pastebin.com/1hA4Qa8rMay 30, 2022 at 9:47 PM #36249Long Nguyen
ModeratorHi,
Please delete (or move to Trash) the current field group
Médias-Photos-Fieldson your site then download this JSON file and import it to your site https://pastebin.com/nTsCqgqiLet me know how it goes.
May 30, 2022 at 10:49 PM #36253AnLip
ParticipantHi Long, it apparently fixed the issue : the field group meta box does not appear anymore where it is not supposed to.
Am I right to assume that you fixed it by manually adding "post" to "post_types" ? Was there a corruption of the code that removed the post type, causing the meta box to appear in unusual places ?
"meta_box": { "title": "Médias-Photos-Fields", "id": "medias-photos", "post_types": [ "post"Thanks a ton for your help anyways !
May 31, 2022 at 12:20 PM #36255Long Nguyen
ModeratorHi,
Yes, I've added
postto thepost_typesattribute. I will also inform the development team to set thepostif missing the post type value in the builder. -
AuthorPosts
- You must be logged in to reply to this topic.