get_tag_template [ WordPress Function ]
| Uses: | |
| Returns: |
|
| Defined at: |
|
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.
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- Function Reference/get tag template « WordPress Codex
Description. 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 ...
codex.wordpress.org - RESTful Web Services in a WordPress Plugin? | MikeSchinkel.com
Aug 2, 2008... return; } else if ( is_tag() && $template = get_tag_template()) { include ($template); return; } else if ( is_tax() && $template ...
mikeschinkel.com - wordpress - Colon operator in PHP - Stack Overflow
... get_page_template() ) : elseif ( is_category() && $template = get_category_template() ) : elseif ( is_tag() && $template = get_tag_template() ) ...
stackoverflow.com - Snippets | | IdeaTree Website DesignIdeaTree Website Design
... get_page_template()): elseif (is_category() && $template = get_category_template()): elseif (is_tag() && $template = get_tag_template()): elseif (is_author() ...
ideatree-website-design.com