3 * The template for displaying all pages.
5 * This is the template that displays all pages by default.
6 * Please note that this is the wordpress construct of pages
7 * and that other 'pages' on your wordpress site will use a
11 * @subpackage Twenty_Ten
12 * @since Twenty Ten 1.0
18 <div id="content" role="main">
20 <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
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>
26 <h1 class="entry-title"><?php the_title(); ?></h1>
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-## -->
36 <?php comments_template( '', true ); ?>
40 </div><!-- #content -->
41 </div><!-- #container -->
43 <?php get_sidebar(); ?>
44 <?php get_footer(); ?>