Home › Forums › ACF PRO › Get values from Taxonomy terms on archive.php page = NULL › Reply To: Get values from Taxonomy terms on archive.php page = NULL
If it’s a post type you shouldn’t be using the taxonomy and term id for post id, and since in inside the loop you don’t need the post id at all.
What you’ll get for output depends on what you have the field set to return.
while ( have_posts() ) : the_post();
$job_title = get_field('member_person_job');
echo $job_title;
echo '<div style="background: #000;"><pre>';
var_dump( $job_title );
echo '</pre></div>';
endwhile;
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.