<?php if ( is_taxonomy_assigned_to_post_type( 'music' ) ) { ?> <h1><?php single_term_title(); ?></h1> <?php } ?>