Home › Forums › General Issues › get_field not returning values › Reply To: get_field not returning values
** edit **
Ok, so weird but I reloaded it 100s of times and it did not work. Without changing a line of code, when I posted my complaint below, the next time I reloaded, it worked. And I’m using the wp-cli
so I’m sure nothing is cached.
Hi there! I have a similar problem, but mine is that it works fine if my page is http://site.com/front-page
But when I set the front page to a static page via wordpress, so that it will access that page from
Then it fails and get_field(‘fieldname’) doesn’t return anything. Any pointers?
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’re reaching out to our multilingual users to ask for help in translating ACF 6.1. Help make sure the latest features are available in your language here: https://t.co/TkEc2Exd6U— Advanced Custom Fields (@wp_acf) May 22, 2023
© 2023 Advanced Custom Fields.