Home › Forums › General Issues › Display values outside the loop › Reply To: Display values outside the loop
Thanks, that is right. And I am not 100% sure if it is really the most recent one. So that might be the cause of the problem. So maybe it would be better to use the ID of the post. That is more specific.
So it would be like this (?):
$args = array('post_id'=>12345);
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.