Codex tools: Log in
Contents |
Retrieve path of tag template in current or parent template.
Works by first retrieving the current tag name, for example 'tag-wordpress.php' and then trying tag ID, for example 'tag-1.php' and will finally fallback to tag.php template, if those files don't exist.
<?php get_tag_template() ?>
None.
Since: 2.3.0
get_tag_template() is located in wp-includes/theme.php.