Home › Forums › General Issues › Simple code › Reply To: Simple code
Hi @ivanko
Could you please check if the values are saved in the backend? Also, could you please manually pass the post ID as the second parameter of the the_field() function like the following?
the_field(‘team_2’, 99);
Where 99 is the ID of your post. This will check if the value is saved correctly and can be returned correctly too.
Could you also take a look at this page: http://www.advancedcustomfields.com/resources/displaying-custom-field-values-in-your-theme/?
Thanks!
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.