Unfortunately it did not work and returned nothing. I’m trying to pull the field value in a widget which is placed on the “Your latest posts” page as index.php.
I’ve also tried using the get_option('page_for_posts'); and get_option('page_on_front'); to get the id of this page. If i just print the get_option() function it will return the id, but inside the get_post_meta() it always return an empty string.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users