WordPress/wp-content/themes/twentytwelve/page-templates/full-width.php
2012-08-28 17:12:10 +00:00

25 lines
547 B
PHP

<?php
/**
* Template Name: Full-width Page Template, No Sidebar
*
* @todo Better documentation here.
*
* @package WordPress
* @subpackage Twenty_Twelve
* @since Twenty Twelve 1.0
*/
get_header(); ?>
<div id="primary" class="site-content">
<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_footer(); ?>