Changeset 13816
- Timestamp:
- 03/25/2010 10:04:27 PM (14 years ago)
- Location:
- trunk/wp-content/themes/twentyten
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/archive.php
r13720 r13816 17 17 18 18 <?php rewind_posts(); ?> 19 20 <?php get_generic_template( 'loop', 'archive' ); ?> 19 <?php 20 /* Run the loop for the archives page to output the posts. 21 * If you want to overload this in a child theme then include a file 22 * called loop-archives.php and that will be used instead. 23 */ 24 get_template_part( 'loop', 'archive' ); 25 ?> 21 26 22 27 </div><!-- #content --> -
trunk/wp-content/themes/twentyten/author.php
r13720 r13816 22 22 <?php rewind_posts(); ?> 23 23 24 <?php get_generic_template( 'loop', 'author' ); ?> 25 24 <?php 25 /* Run the loop for the author archive page to output the authors posts 26 * If you want to overload this in a child theme then include a file 27 * called loop-author.php and that will be used instead. 28 */ 29 get_template_part( 'loop', 'author' ); 30 ?> 26 31 </div><!-- #content --> 27 32 </div><!-- #container --> -
trunk/wp-content/themes/twentyten/category.php
r13720 r13816 9 9 <?php $categorydesc = category_description(); if ( ! empty( $categorydesc ) ) echo apply_filters( 'archive_meta', '<div class="archive-meta">' . $categorydesc . '</div>' ); ?> 10 10 11 <?php get_generic_template( 'loop', 'category' ); ?> 11 <?php 12 /* Run the loop for the category page to output the posts. 13 * If you want to overload this in a child theme then include a file 14 * called loop-category.php and that will be used instead. 15 */ 16 get_template_part( 'loop', 'category' ); 17 ?> 12 18 13 19 </div><!-- #content --> -
trunk/wp-content/themes/twentyten/index.php
r13498 r13816 4 4 <div id="content"> 5 5 6 <?php get_generic_template( 'loop', 'index' ); ?> 7 6 <?php 7 /* Run the loop to output the posts. 8 * If you want to overload this in a child theme then include a file 9 * called loop-index.php and that will be used instead. 10 */ 11 get_template_part( 'loop', 'index' ); 12 ?> 8 13 </div><!-- #content --> 9 14 </div><!-- #container --> -
trunk/wp-content/themes/twentyten/search.php
r13720 r13816 6 6 <?php if ( have_posts() ) : ?> 7 7 <h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'twentyten' ), '<span>' . get_search_query() . '</span>' ); ?></h1> 8 <?php get_generic_template( 'loop', 'search' ); ?> 8 <?php 9 /* Run the loop for the search to output the results. 10 * If you want to overload this in a child theme then include a file 11 * called loop-search.php and that will be used instead. 12 */ 13 get_template_part( 'loop', 'search' ); 14 ?> 9 15 <?php else : ?> 10 16 <div id="post-0" class="post no-results not-found"> -
trunk/wp-content/themes/twentyten/tag.php
r13720 r13816 12 12 <?php rewind_posts(); ?> 13 13 14 <?php get_generic_template( 'loop', 'tag' ); ?> 15 14 <?php 15 /* Run the loop for the tag archive to output the posts 16 * If you want to overload this in a child theme then include a file 17 * called loop-tag.php and that will be used instead. 18 */ 19 get_template_part( 'loop', 'tag' ); 20 ?> 16 21 </div><!-- #content --> 17 22 </div><!-- #container -->
Note: See TracChangeset
for help on using the changeset viewer.