2011-05-04 18:54:50 -04:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Template Name: Sidebar Template
|
|
|
|
* Description: A Page Template that adds a sidebar to pages
|
|
|
|
*
|
|
|
|
* @package WordPress
|
2011-05-18 15:06:09 -04:00
|
|
|
* @subpackage Twenty_Eleven
|
2011-05-04 18:54:50 -04:00
|
|
|
* @since Twenty Eleven 1.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
get_header(); ?>
|
|
|
|
|
|
|
|
<div id="primary">
|
|
|
|
<div id="content" role="main">
|
|
|
|
|
2011-11-21 11:20:49 -05:00
|
|
|
<?php while ( have_posts() ) : the_post(); ?>
|
2011-05-04 18:54:50 -04:00
|
|
|
|
2011-11-21 11:20:49 -05:00
|
|
|
<?php get_template_part( 'content', 'page' ); ?>
|
2011-05-04 18:54:50 -04:00
|
|
|
|
2011-11-21 11:20:49 -05:00
|
|
|
<?php comments_template( '', true ); ?>
|
|
|
|
|
|
|
|
<?php endwhile; // end of the loop. ?>
|
2011-05-04 18:54:50 -04:00
|
|
|
|
|
|
|
</div><!-- #content -->
|
|
|
|
</div><!-- #primary -->
|
|
|
|
|
|
|
|
<?php get_sidebar(); ?>
|
|
|
|
<?php get_footer(); ?>
|