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

Untitled

By: a guest on Mar 29th, 2011  |  syntax: None  |  size: 1.16 KB  |  views: 49  |  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="blog_content">
  4.         <?php if (have_posts()) : ?>
  5.  
  6.                 <?php while (have_posts()) : the_post(); ?>
  7.                
  8.                 <div class="post">
  9.                         <h1><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h1>
  10.                         <small><b>Posted:</b> <?php the_time('F jS, Y') ?> | <b>Author:</b> <?php the_author_posts_link(); ?> | <b>Filed under:</b> <?php the_category(', ') ?> <?php the_tags(' | <b>Tags:</b> ', ', ', ''); ?> <?php if ( $user_ID ) :
  11.                         ?> | <b>Modify:</b> <?php edit_post_link(); ?> <?php endif; ?>| <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></small>
  12.                         <?php the_content('Read the rest of this entry &raquo;'); ?>
  13.                          <hr/>
  14.                 </div>
  15.                
  16.                 <?php comments_template(); ?>
  17.                
  18.                 <?php endwhile; ?>
  19.  
  20.                 <div class="navigation">
  21.                         <div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
  22.                         <div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
  23.                 </div>
  24.  
  25.         <?php else : ?>
  26.  
  27.                 <h2 class="center">Not Found</h2>
  28.                 <p class="center">Sorry, but you are looking for something that isn't here.</p>
  29.  
  30.         <?php endif; ?>
  31.  
  32.         </div>
  33.  
  34. <?php get_footer(); ?>
clone this paste RAW Paste Data