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