Home › Forums › Front-end Issues › Not showing my fields › Reply To: Not showing my fields
hi @unomobil
i guess you should note what are you doing and what field type are you trying to get.
but the most usual code to get field’s values is:
the_field( 'field_name', false, false )
false, false make ACF to get values from THIS POST. btw you can use $post->ID
instead them.
i guess you know these codes are php codes and you should use <?php
and ?>
before and after them.
Hope this help
A
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.