Advertisement
Guest User

Untitled

a guest
Jan 31st, 2011
539
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.98 KB | None | 0 0
  1. <?php
  2. if ( post_password_required() ) { ?>
  3.     <p>This post is password protected. Enter the password to view comments.</p>
  4. <?php
  5.     return;
  6. }
  7.  
  8. if( have_comments() ) : ?>
  9.                    
  10.                     <h5 class="cufon"><?php comments_number('No comment', 'Comment', '% Comments'); ?> for <?php the_title(); ?></h5><br/>
  11.  
  12.                     <?php wp_list_comments( array('callback' => 'pp_comment', 'avatar_size' => '40') ); ?>
  13.                    
  14.                     <!-- End of thread -->  
  15.                     <br class="clear"/><br/>
  16. <?php endif; ?>  
  17.  
  18.  
  19. <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
  20.             <div class="pagination"><p><?php previous_comments_link(); ?> <?php next_comments_link(); ?></p></div><br class="clear"/><div class="line"></div><br/><br/>
  21. <?php endif; // check for comment navigation ?>
  22.  
  23.  
  24. <?php if ('open' == $post->comment_status) : ?>
  25.  
  26.         <div id="respond">
  27.             <?php include(TEMPLATEPATH . '/templates/comments-form.php'); ?>
  28.         </div>
  29.            
  30. <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement