Array terms, if term one, if term two, etc
I solved it like this. Although if there are more than 3 co-authors problems could arise $tagx = get_the_terms($post->ID , ‘autoria’); $number = count($tagx); if ( $number == 1) { $first_author = $tagx[0]; echo ‘<strong>’; echo esc_html( $first_author->name ); echo ‘</strong>’; } if ($number == 2) { $first_author = $tagx[0]; $second_author = $tagx[1]; echo ‘<strong>’; … Read more