Advertisement
alchymyth

sidebar-page-right-in-one-column.php

Nov 6th, 2012
322
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.64 KB | None | 0 0
  1. <?php
  2. /**
  3.  * Template Name: Sidebar right in Page in 'One-Column'
  4.  * Description: A Page Template that adds a right sidebar to a static page in the 'one-column' theme option
  5.  *
  6.  * @package WordPress
  7.  * @subpackage Twenty_Eleven
  8.  * @since Twenty Eleven 1.0
  9.  */
  10.  
  11. get_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(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement