Guest User

Untitled

a guest
Sep 6th, 2015
85
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /**
  3.  * Template Name: Sidebar-Left
  4.  *
  5.  * Description: A page template that provides a key component of WordPress as a CMS
  6.  * by meeting the need for a carefully crafted introductory page. The front page template
  7.  * in Twenty Twelve consists of a page content area for adding text, images, video --
  8.  * anything you'd like -- followed by front-page-only widgets in one or two columns.
  9.  *
  10.  * @package WordPress
  11.  * @subpackage Twenty_Twelve
  12.  * @since Twenty Twelve 1.0
  13.  */
  14.  
  15. get_header(); ?>
  16. <div class="left-sidebar">
  17.     <?php get_sidebar(); ?>
  18. </div>
  19.     <div id="primary" class="site-content">
  20.         <div id="content" role="main">
  21.  
  22.             <?php while ( have_posts() ) : the_post(); ?>
  23.                 <?php if ( has_post_thumbnail() ) : ?>
  24.                     <div class="entry-page-image">
  25.                         <?php the_post_thumbnail(); ?>
  26.                     </div><!-- .entry-page-image -->
  27.                 <?php endif; ?>
  28.  
  29.                 <?php get_template_part( 'content', 'page' ); ?>
  30.  
  31.             <?php endwhile; // end of the loop. ?>
  32.  
  33.         </div><!-- #content -->
  34.     </div><!-- #primary -->
  35.  
  36. <?php get_footer(); ?>
RAW Paste Data