]> scripts.mit.edu Git - autoinstalls/wordpress.git/blob - wp-content/themes/twentyten/onecolumn-page.php
Wordpress 3.0
[autoinstalls/wordpress.git] / wp-content / themes / twentyten / onecolumn-page.php
1 <?php
2 /**
3  * Template Name: One column, no sidebar
4  *
5  * A custom page template without sidebar.
6  *
7  * The "Template Name:" bit above allows this to be selectable
8  * from a dropdown menu on the edit page screen.
9  *
10  * @package WordPress
11  * @subpackage Twenty_Ten
12  * @since Twenty Ten 1.0
13  */
14
15 get_header(); ?>
16
17                 <div id="container" class="one-column">
18                         <div id="content" role="main">
19
20 <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
21
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-## -->
30
31                                 <?php comments_template( '', true ); ?>
32
33 <?php endwhile; ?>
34
35                         </div><!-- #content -->
36                 </div><!-- #container -->
37
38 <?php get_footer(); ?>