Home › Forums › Front-end Issues › Blank fields › Reply To: Blank fields
Hi @Squideyes
Your code the_field('download_cv');
is outside of the loop! This is why ACF does not understand where to load the data from.
Where is the data for ‘download_cv’ saved? Is it on the page which you have selected the CV template for?
I think the issue is with all your global $wp_query stuff.
You should use not override this global variable, but use a new variable. Also, make sure you use the reset_postdata function after the loop. This is all documented on the WP site.
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.