mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 02:10:45 +01:00
aaf99e6913
WordPress' code just... wasn't. This is now dealt with. Props jrf, pento, netweb, GaryJ, jdgrimes, westonruter, Greg Sherwood from PHPCS, and everyone who's ever contributed to WPCS and PHPCS. Fixes #41057. Built from https://develop.svn.wordpress.org/trunk@42343 git-svn-id: http://core.svn.wordpress.org/trunk@42172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
34 lines
825 B
PHP
34 lines
825 B
PHP
<?php
|
|
/**
|
|
* Template Name: Full-width Page Template, No Sidebar
|
|
*
|
|
* Description: Twenty Twelve loves the no-sidebar look as much as
|
|
* you do. Use this page template to remove the sidebar from any page.
|
|
*
|
|
* Tip: to remove the sidebar from all posts and pages simply remove
|
|
* any active widgets from the Main Sidebar area, and the sidebar will
|
|
* disappear everywhere.
|
|
*
|
|
* @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(); ?>
|