Guest User

single.php

a guest
Apr 13th, 2012
37
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php get_header(); ?>
  2. <?php get_sidebar(); ?>
  3.  
  4. <div class='single_post'>
  5.     <?php if(have_posts()) : while(have_posts()) : the_post(); ?>
  6.    
  7.         <h2><?php the_title(); ?></h2>
  8.        
  9.         <div class='single_entry'>
  10.             <em>Article posted on <?php the_time('l, F, jS, Y'); ?> at <?php the_time(); ?></em>
  11.             <?php the_content(); ?>
  12.             <?php the_tags(); ?>
  13.             <?php edit_post_link('Edit this post...', '<p>', '</p>');?>
  14.             <div class='promote'>
  15.             <h2>Enjoy This Article?</h2>
  16.             <p>If you have enjoyed this article please subscribe to our <a href="<?php bloginfo('rss2_url');?>">RSS Feed</a></p>
  17.             </div>
  18.             <?php comments_template();?>
  19.         </div>
  20.        
  21.         <?php endwhile; else: ?>
  22.         <h3>Sorry but we could not find what you were looking for</h3>
  23.         <div><?php get_search_form(); ?></div>
  24.         <?php endif; ?>
  25. </div>
  26. <?php include(TEMPLATEPATH . '/footer.php');?>
RAW Paste Data