Languages: English • Italiano • taxonomy template 日本語 (Add your language)
Retrieve path of taxonomy template in current or parent template.
Retrieves the taxonomy and term, if term is available. The template is prepended with 'taxonomy-' and followed by both the taxonomy string and the taxonomy string followed by a dash and then followed by the term.
The taxonomy and term template is checked and used first, if it exists. Second, just the taxonomy template is checked, and then finally, taxonomy.php template is used. If none of the files exist, then it will fall back on to index.php.
<?php get_taxonomy_template() ?>
None.
Since: unknown (2.6.0 most likely)
get_taxonomy_template() is located in wp-includes/template.php
.