PageRenderTime 10ms CodeModel.GetById 9ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/Web/wp-content/themes/twentyeleven/sidebar-page.php

https://bitbucket.org/jimjenkins5/blog
PHP | 28 lines | 12 code | 8 blank | 8 comment | 1 complexity | 30065e3b4fc19e54c4f98ff8906a07d2 MD5 | raw file
Possible License(s): GPL-2.0, GPL-3.0, AGPL-1.0, LGPL-2.1
 1<?php
 2/**
 3 * Template Name: Sidebar Template
 4 * Description: A Page Template that adds a sidebar to pages
 5 *
 6 * @package WordPress
 7 * @subpackage Twenty_Eleven
 8 * @since Twenty Eleven 1.0
 9 */
10
11get_header(); ?>
12
13		<div id="primary">
14			<div id="content" role="main">
15
16				<?php while ( have_posts() ) : the_post(); ?>
17
18					<?php get_template_part( 'content', 'page' ); ?>
19
20					<?php comments_template( '', true ); ?>
21
22				<?php endwhile; // end of the loop. ?>
23
24			</div><!-- #content -->
25		</div><!-- #primary -->
26
27<?php get_sidebar(); ?>
28<?php get_footer(); ?>