Home › Forums › ACF PRO › Variable not showing in Single Post page › Reply To: Variable not showing in Single Post page
I could not see anything simpler than the_field() or get_field(). You should not bypass that point without cleaning your script.
You should test (in the top of the script or the loop) if the related post in the single post page has the ‘parent_series’ set:
<?php
die(get_field('parent_series');
?>
Or maybe your problem is simply related with a misunderstanding of the WordPress loop which could easily leads to strange behaviour like the one your are talking about.
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.