mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-26 02:57:45 +01:00
25d1363a66
Built from https://develop.svn.wordpress.org/trunk@25625 git-svn-id: http://core.svn.wordpress.org/trunk@25542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
29 lines
567 B
PHP
29 lines
567 B
PHP
<?php
|
|
/**
|
|
* Template Name: Sidebar Template
|
|
*
|
|
* Description: A Page Template that adds a sidebar to pages.
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Twenty_Eleven
|
|
* @since Twenty Eleven 1.0
|
|
*/
|
|
|
|
get_header(); ?>
|
|
|
|
<div id="primary">
|
|
<div id="content" role="main">
|
|
|
|
<?php while ( have_posts() ) : the_post(); ?>
|
|
|
|
<?php get_template_part( 'content', 'page' ); ?>
|
|
|
|
<?php comments_template( '', true ); ?>
|
|
|
|
<?php endwhile; // end of the loop. ?>
|
|
|
|
</div><!-- #content -->
|
|
</div><!-- #primary -->
|
|
|
|
<?php get_sidebar(); ?>
|
|
<?php get_footer(); ?>
|