Advertisement
Guest User

single.php

a guest
Mar 11th, 2014
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.68 KB | None | 0 0
  1. <?php get_header(); ?>
  2.  
  3.     <div id="content" class="clearfix">
  4.        
  5.         <div id="main" class="clearfix" role="main">
  6.  
  7.             <?php while ( have_posts() ) : the_post(); ?>
  8.  
  9.                 <?php get_template_part( 'content', 'single' ); ?>
  10.  
  11.  
  12.                 <?php
  13.                     // If comments are open or we have at least one comment, load up the comment template
  14.                     if ( comments_open() || '0' != get_comments_number() ) { ?>
  15.                         <div class="grnbar"></div>
  16.                         <?php
  17.                         comments_template( '', true );
  18.                     }
  19.                 ?>
  20.  
  21.             <?php endwhile; // end of the loop. ?>
  22.  
  23.         </div> <!-- end #main -->
  24.  
  25.         <?php get_sidebar(); ?>
  26.  
  27.     </div> <!-- end #content -->
  28.        
  29. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement