]> scripts.mit.edu Git - autoinstalls/wordpress.git/blob - wp-content/themes/twentytwelve/page-templates/full-width.php
WordPress 4.0.1-scripts
[autoinstalls/wordpress.git] / wp-content / themes / twentytwelve / page-templates / full-width.php
1 <?php
2 /**
3  * Template Name: Full-width Page Template, No Sidebar
4  *
5  * Description: Twenty Twelve loves the no-sidebar look as much as
6  * you do. Use this page template to remove the sidebar from any page.
7  *
8  * Tip: to remove the sidebar from all posts and pages simply remove
9  * any active widgets from the Main Sidebar area, and the sidebar will
10  * disappear everywhere.
11  *
12  * @package WordPress
13  * @subpackage Twenty_Twelve
14  * @since Twenty Twelve 1.0
15  */
16
17 get_header(); ?>
18
19         <div id="primary" class="site-content">
20                 <div id="content" role="main">
21
22                         <?php while ( have_posts() ) : the_post(); ?>
23                                 <?php get_template_part( 'content', 'page' ); ?>
24                                 <?php comments_template( '', true ); ?>
25                         <?php endwhile; // end of the loop. ?>
26
27                 </div><!-- #content -->
28         </div><!-- #primary -->
29
30 <?php get_footer(); ?>