Home › Forums › Backend Issues (wp-admin) › New Field Names
Hi.
I had custom fields for my posts and decided to group them, everything seemed fine, content displayed without any problems until I changed the group name. I had done that for other websites and fields and never had problems.
I updated the code, updated the content on WP admin for the posts, ensuring all names were used correctly and no content is displayed, no fields seem to work and I don’t know what to do. Is there a way of caching the fields or resetting everything? I don’t know what to do to get the content to show up.
Thanks!
what do you mean by
updated the content on WP admin for the posts
Once data is stored in a field you cannot change the field name or change the field hierarchy. Doing so disconnect the data.
Thank you. I meant that when changing the fields’ names, all the content was erased from them, so I had to put the content again in the fields. When I had changed names in the past, this had happened, but when filling the fields, they worked again. Now they won’t.
What can I do? Is there a way of resetting those fields or erasing the cache or something that helps me connect them?
I don’t know why the new fields wouldn’t work if you added content to them and updated code to use the new names. You said that you put fields in groups. Are us using the right code for group fields?
Yes, I am using the correct code, here’s the evidence:
Code: https://snipboard.io/LAiowv.jpg
Field names: https://snipboard.io/TZsr8J.jpg
And no content is displayed (content is correct in the Posts on WP).
Thanks!
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.