Changeset 42343 for trunk/src/wp-content/themes/twentyten/loop-page.php
- Timestamp:
- 11/30/2017 11:09:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyten/loop-page.php
r32116 r42343 16 16 ?> 17 17 18 <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> 18 <?php 19 if ( have_posts() ) { 20 while ( have_posts() ) : 21 the_post(); 22 ?> 19 23 20 24 <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> … … 27 31 <div class="entry-content"> 28 32 <?php the_content(); ?> 29 <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?> 33 <?php 34 wp_link_pages( 35 array( 36 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 37 'after' => '</div>', 38 ) 39 ); 40 ?> 30 41 <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?> 31 42 </div><!-- .entry-content --> … … 34 45 <?php comments_template( '', true ); ?> 35 46 36 <?php endwhile; // end of the loop. ?> 47 <?php endwhile; 48 }; // end of the loop. ?>
Note: See TracChangeset
for help on using the changeset viewer.