Want more features on Pastebin? Sign Up, it's FREE!
Guest

PureType Page.php

By: a guest on Feb 15th, 2012  |  syntax: None  |  size: 1.04 KB  |  views: 42  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php get_header(); ?>
  2.  
  3. <div id="container">
  4. <div id="left-div">
  5.     <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  6.     <!--Start Post-->
  7.     <div class="post-wrapper">
  8.         <h1 class="post-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(esc_attr__('Permanent Link to %s','PureType'), get_the_title()) ?>">
  9.             <?php the_title(); ?></a></h1>
  10.         <div style="clear: both;"></div>
  11.                 <?php if (get_option('puretype_page_thumbnails') == 'on') { get_template_part( 'includes/thumbnail'); } ?>
  12.         <?php the_content(); ?>
  13.                 <div style="clear: both;"></div>
  14.                 <?php if (get_option('puretype_show_pagescomments') == 'on') { ?>
  15.                         <?php comments_template('', true); ?>
  16.                 <?php }; ?>    
  17.     </div>
  18.     <?php endwhile; ?>
  19.     <!--End Post-->
  20.     <?php else : ?>
  21.                 <?php get_template_part('includes/no-results'); ?>
  22.     <?php endif; ?>
  23. </div>
  24. <!--Begin Sidebar-->
  25. <?php get_sidebar(); ?>
  26. <!--End Sidebar-->
  27. <!--Begin Footer-->
  28. <?php get_footer(); ?>
  29. <!--End Footer-->
  30. </body>
  31. </html>
clone this paste RAW Paste Data