3 * The loop that displays a page.
5 * The loop displays the posts and the post content. See
6 * http://codex.wordpress.org/The_Loop to understand it and
7 * http://codex.wordpress.org/Template_Tags to understand
10 * This can be overridden in child themes with loop-page.php.
13 * @subpackage Twenty_Ten
14 * @since Twenty Ten 1.2
18 <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
20 <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
21 <?php if ( is_front_page() ) { ?>
22 <h2 class="entry-title"><?php the_title(); ?></h2>
24 <h1 class="entry-title"><?php the_title(); ?></h1>
27 <div class="entry-content">
28 <?php the_content(); ?>
29 <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
30 <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?>
31 </div><!-- .entry-content -->
32 </div><!-- #post-## -->
34 <?php comments_template( '', true ); ?>
36 <?php endwhile; // end of the loop. ?>