Support

Account

Home Forums ACF PRO Get taxonomy terms from custom loop Reply To: Get taxonomy terms from custom loop

  • Thanks for all your help James, I got it working using get_the_term_list, like so:

    $terms = get_the_term_list( $post->ID, 'key_tasks', '', ',' ); $terms = strip_tags( $terms ); 
    
    if ($terms) {
    
    echo '<p>'.$terms.'</p>';
    
    } else  {
    
    }