daily pastebin goal
69%
SHARE
TWEET

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

alchymyth Nov 6th, 2012 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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(); ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top