Advertisement
Guest User

Single-Post.php

a guest
Jul 21st, 2012
374
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.99 KB | None | 0 0
  1. <?php get_header(); ?>
  2.  
  3. <div id="left">
  4.     <?php if (have_posts()) : ?>
  5.     <?php while (have_posts()) : the_post(); ?>
  6.        
  7.         <div class="post" id="post-<?php the_ID(); ?>">
  8.             <div class="title">
  9.                 <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
  10.                 <div class="postmeta">  <span>Posted by <?php the_author_posts_link(); ?></span> | <span><?php the_time('l, n F Y'); ?></span> | <span><?php the_category(', '); ?></span> </div>
  11.             </div>
  12.        
  13.             <div class="entry">
  14.                     <?php the_post_thumbnail( 'post_image', array('class' => 'postim') ); ?>
  15.                     <?php the_content('Read the rest of this entry &raquo;'); ?>
  16.                     <div class="clear"></div>
  17.                     <?php wp_link_pages(array('before' => '<p><strong>Pages: </strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
  18.             </div>
  19.         </div>
  20.        
  21.     <?php comments_template(); ?>
  22.     <?php endwhile; endif; ?>  
  23. </div>
  24.  
  25.  
  26. <?php get_sidebar(); ?>
  27. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement