Home › Forums › General Issues › has_sub_field won't work after POST request › Reply To: has_sub_field won't work after POST request
Thanks for the reply!
The $post and its ID are actually fine, I checked them. Otherwise the get_field function wouldn’t work as well.
So at first everything works, you can see the echoed ‘description_titel’ and then a few times ‘Schritt’ because of the has_sub_field-loop.
But if you press the button and the page reloads, you only see the echoed ‘description_titel’ which means that get_field works but has_sub_field doesn’t. And that really confuses me.
Let’s say we can’t make it work this way, which other possibilities do I have to get the desired fields?
P.S Maybe it is a version conflict?
ACF version: 5.6.8
WP version: 4.9.8
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.