Taxonomy Parent Name

<?php $term = get_term_by( ‘slug’, get_query_var( ‘term’ ), get_query_var( ‘taxonomy’ ) ); $parent = get_term_by( ‘id’, $term->parent, get_query_var( ‘taxonomy’ ) ); if($parent): echo $parent->name; endif; ?>

Pull Tags But Not as Links

You can use get_the_terms(). I’ve adapted the following from an example on that page: $terms = get_the_terms( $post->ID, ‘visits’ ); if ( $terms && ! is_wp_error( $terms ) ) : $visits_name = array(); foreach ( $terms as $term ) { $visits_name[] = $term->name; } $terms_list = join( “, “, $visits_name ); echo $terms_list; endif; EDIT: … Read more

Override Taxonomy Template

Take a look at the Codex: taxonomy-{taxonomy}-{term}.php – If the taxonomy were sometax, and taxonomy’s term were someterm WordPress would look for taxonomy-sometax-someterm.php. In the case of Post Formats, the taxonomy is ‘post_format’ and the terms are post-format-{format}. i.e. taxonomy-post_format-post-format-link.php taxonomy-{taxonomy}.php – If the taxonomy were sometax, WordPress would look for taxonomy-sometax.php taxonomy.php You registered … Read more