Changeset 25627 for trunk/src/wp-content/themes/twentyten/archive.php
- Timestamp:
- 09/25/2013 05:03:34 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyten/archive.php
r19241 r25627 1 1 <?php 2 2 /** 3 * T he template for displaying Archive pages.3 * Template for displaying Archive pages 4 4 * 5 5 * Used to display archive-type pages if nothing more specific matches a query. 6 6 * For example, puts together date-based pages if no date.php file exists. 7 7 * 8 * Learn more:http://codex.wordpress.org/Template_Hierarchy8 * @link http://codex.wordpress.org/Template_Hierarchy 9 9 * 10 10 * @package WordPress … … 19 19 20 20 <?php 21 /* Queue the first post, that way we know 21 /** 22 * Queue the first post, that way we know 22 23 * what date we're dealing with (if that is the case). 23 24 * … … 42 43 43 44 <?php 44 /* Since we called the_post() above, we need to 45 /** 46 * Since we called the_post() above, we need to 45 47 * rewind the loop back to the beginning that way 46 48 * we can run the loop properly, in full. … … 48 50 rewind_posts(); 49 51 50 /* Run the loop for the archives page to output the posts. 52 /** 53 * Run the loop for the archives page to output the posts. 51 54 * If you want to overload this in a child theme then include a file 52 55 * called loop-archive.php and that will be used instead.
Note: See TracChangeset
for help on using the changeset viewer.