3 * Template Name: One column, no sidebar
5 * A custom page template without sidebar.
7 * The "Template Name:" bit above allows this to be selectable
8 * from a dropdown menu on the edit page screen.
11 * @subpackage Twenty_Ten
12 * @since Twenty Ten 1.0
17 <div id="container" class="one-column">
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 <h1 class="entry-title"><?php the_title(); ?></h1>
24 <div class="entry-content">
25 <?php the_content(); ?>
26 <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
27 <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?>
28 </div><!-- .entry-content -->
29 </div><!-- #post-## -->
31 <?php comments_template( '', true ); ?>
35 </div><!-- #content -->
36 </div><!-- #container -->
38 <?php get_footer(); ?>