Guest User

higgo

a guest
Feb 15th, 2010
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.06 KB | None | 0 0
  1. <?php get_header(); ?>
  2.  
  3. <div id="content">
  4.   <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  5.   <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
  6.     <h2>
  7.       <?php the_title(); ?>
  8.     </h2>
  9.     <p class="meta">
  10.       <?php the_time('F jS, Y') ?>
  11.       - By
  12.       <?php the_author() ?>
  13.       -
  14.       <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?>
  15.     </p>
  16.     <div class="entry">
  17.       <?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
  18.       <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
  19.       <p class="meta">
  20.         <?php the_tags('Tags: ', ', ', ' '); ?>
  21.       </p>
  22.     </div>
  23.   </div>
  24.   <div class="clearfloat"> </div>
  25.  
  26.   <!-- Have tried it here -->
  27.  
  28.   <?php comments_template(); ?>
  29.   <?php endwhile; else: ?>
  30.   <p>Sorry, no posts matched your criteria.</p>
  31.   <?php endif; ?>
  32.  
  33.   <!--And tried it here -->
  34.  
  35. </div>
  36. <?php get_sidebar(); ?>
  37. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment