web/wp-content/themes/twentyten/onecolumn-page.php
changeset 194 32102edaa81b
equal deleted inserted replaced
193:2f6f6f7551ca 194:32102edaa81b
       
     1 <?php
       
     2 /**
       
     3  * Template Name: One column, no sidebar
       
     4  *
       
     5  * A custom page template without sidebar.
       
     6  *
       
     7  * The "Template Name:" bit above allows this to be selectable
       
     8  * from a dropdown menu on the edit page screen.
       
     9  *
       
    10  * @package WordPress
       
    11  * @subpackage Twenty_Ten
       
    12  * @since Twenty Ten 1.0
       
    13  */
       
    14 
       
    15 get_header(); ?>
       
    16 
       
    17 		<div id="container" class="one-column">
       
    18 			<div id="content" role="main">
       
    19 
       
    20 			<?php
       
    21 			/* Run the loop to output the page.
       
    22 			 * If you want to overload this in a child theme then include a file
       
    23 			 * called loop-page.php and that will be used instead.
       
    24 			 */
       
    25 			 get_template_part( 'loop', 'page' );
       
    26 			?>
       
    27 
       
    28 			</div><!-- #content -->
       
    29 		</div><!-- #container -->
       
    30 
       
    31 <?php get_footer(); ?>