Home › Forums › Backend Issues (wp-admin) › Get fields from page posts list › Reply To: Get fields from page posts list
He answered my question, I will leave it here for future.
It’s an ACF Extended Feature
The post type “Post” is named post (editado)
So in your case, as you use the Post Type List Location on “Posts”, it will be:
get_field(‘my_field’, ‘post_options’)
If you use that location on the post type page, it will be get_field(‘my_field’, ‘page_options’)
For a custom post type named review , it would be get_field(‘my_field’, ‘review_options’) etc… etc…
{name_cpt}_options is a placeholder you should adapt depending on the said post type
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.