Changeset 5149 for trunk/wp-includes/theme.php
- Timestamp:
- 03/31/2007 06:16:12 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/theme.php
r5087 r5149 329 329 } 330 330 331 function get_tag_template() { 332 $template = ''; 333 if ( file_exists(TEMPLATEPATH . "/tag-" . get_query_var('tag') . '.php') ) 334 $template = TEMPLATEPATH . "/tag-" . get_query_var('tag') . '.php'; 335 elseif ( file_exists(TEMPLATEPATH . "/tag.php") ) 336 $template = TEMPLATEPATH . "/tag.php"; 337 338 return apply_filters('tag_template', $template); 339 } 340 341 331 342 function get_date_template() { 332 343 return get_query_template('date');
Note: See TracChangeset
for help on using the changeset viewer.