Singular custom taxonomy label

get_the_terms() returns an array of the terms, and is used by get_the_term_list() to build the links. You can query it and count the number of returned terms. Since the result is cached, it won’t query the database again. $artists = get_the_terms( $post->ID, ‘artists’ ); if ( $artists ) { $artistsLabel = ( 1 == count( … Read more

custom taxonomies on pages

If you want to display a list of all terms in a taxonomy, you can call wp_list_categories() and pass the taxonomy argument to get anything other than the categories: wp_list_categories( array( ‘taxonomy’ => ‘your-taxonomy’ ) ); If you want to use a shortcode for this, so you can use it in your post content, use … Read more