Different single page templates for taxonomies

Use the single_template filter in your functions file with the correct conditional tag add_filter( ‘single_template’, ‘single_tax_term_template’ ); function single_tax_term_template( $single_template ) { global $post; if ( has_term( ”, ‘article’ ) ) { $single_template = dirname( __FILE__ ) . ‘/article.php’; } if ( has_term( ”, ‘news’ ) ) { $single_template = dirname( __FILE__ ) . ‘/news.php’; … Read more