関数リファレンス/get taxonomy template
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() ?>
- Uses: get_query_template() which applies 'taxonomy_template' filter on found path.
- Calls 'taxonomy_template' filter on found path:
Since: unknown (2.6.0 most likely)
get_taxonomy_template() is located in