Support

Account

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;