Home › Forums › Front-end Issues › Blank fields › Reply To: Blank fields
Hi @Squideyes
Your debugging shows that ACF is unable to load the value. This can be due to 1 or 2 things:
1. ACF has no idea which post to load the custom field from
2. There is no value saved for the current post
Can you explain in which file you are running this code. Is it within the loop? Can you test that the global $post is correct at the time when you run the ACF code?
Thanks
E
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.