Changes from branches/3.0/wp-content/themes/twentyten/page.php at r16630 to trunk/wp-content/themes/twentyten/page.php at r17340
- File:
-
- 1 edited
-
trunk/wp-content/themes/twentyten/page.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/page.php
r16630 r17340 18 18 <div id="content" role="main"> 19 19 20 <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> 21 22 <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 23 <?php if ( is_front_page() ) { ?> 24 <h2 class="entry-title"><?php the_title(); ?></h2> 25 <?php } else { ?> 26 <h1 class="entry-title"><?php the_title(); ?></h1> 27 <?php } ?> 28 29 <div class="entry-content"> 30 <?php the_content(); ?> 31 <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?> 32 <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?> 33 </div><!-- .entry-content --> 34 </div><!-- #post-## --> 35 36 <?php comments_template( '', true ); ?> 37 38 <?php endwhile; ?> 20 <?php 21 /* Run the loop to output the page. 22 * If you want to overload this in a child theme then include a file 23 * called loop-page.php and that will be used instead. 24 */ 25 get_template_part( 'loop', 'page' ); 26 ?> 39 27 40 28 </div><!-- #content -->
Note: See TracChangeset
for help on using the changeset viewer.