Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Single-Post.php

By: a guest on Jul 21st, 2012  |  syntax: PHP  |  size: 0.99 KB  |  views: 164  |  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="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(); ?>