Home › Forums › Front-end Issues › Output fields themselves without post › Reply To: Output fields themselves without post
Don’t really understand what you are trying to do, sorry.
Are you trying to show the choices that are available when editing a post? For this you can use get_field_object() https://www.advancedcustomfields.com/resources/get_field_object/
if you are trying to get the values that have been selected then you need to have a post ID to get the value of the field. You don’t need to get the post, but you do need the id of the post to get values from `get_field(‘some field name’, $post_id);
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.