Changeset 23665
- Timestamp:
- 03/12/2013 09:30:13 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/template.php
r23312 r23665 97 97 * Retrieve path of category template in current or parent template. 98 98 * 99 * Works by first retrieving the current slug for example 'category-default.php'and then100 * trying category ID, for example 'category-1.php' and will finally fallback to category.php99 * Works by first retrieving the current slug, for example 'category-default.php', and then 100 * trying category ID, for example 'category-1.php', and will finally fall back to category.php 101 101 * template, if those files don't exist. 102 102 * … … 123 123 * Retrieve path of tag template in current or parent template. 124 124 * 125 * Works by first retrieving the current tag name, for example 'tag-wordpress.php' and then126 * trying tag ID, for example 'tag-1.php' and will finally fallback to tag.php125 * Works by first retrieving the current tag name, for example 'tag-wordpress.php', and then 126 * trying tag ID, for example 'tag-1.php', and will finally fall back to tag.php 127 127 * template, if those files don't exist. 128 128 * … … 227 227 * 228 228 * Will first look for the specifically assigned page template. 229 * Then will search for 'page-{slug}.php', followed by 'page- id.php',229 * Then will search for 'page-{slug}.php', followed by 'page-{id}.php', 230 230 * and finally 'page.php'. 231 231 *
Note: See TracChangeset
for help on using the changeset viewer.