Advertisement
Guest User

Untitled

a guest
May 20th, 2012
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.01 KB | None | 0 0
  1. <?php if ( post_password_required() ) : ?>
  2. <p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'twentyten' ); ?></p>
  3. </div><!-- #comments -->
  4. <?php
  5. /* Stop the rest of comments.php from being processed,
  6. * but don't kill the script entirely -- we still have
  7. * to fully load the template.
  8. */
  9. return;
  10. endif;
  11. ?>
  12.  
  13. <?php
  14. // You can start editing here -- including this comment!
  15. ?>
  16.  
  17. <?php if ( have_comments() ) : ?>
  18.  
  19. <div class="list_category no_margin_bottom">
  20.  
  21. <div class="heading">
  22.  
  23. <h1 class="page_single_header">
  24. <?php printf( _n( '(1) Reader Comment', '(%1$s) Readers Comments ', get_comments_number(), 'fear' ),
  25. number_format_i18n( get_comments_number() ), '<em>' . get_the_title() . '</em>' ); ?>
  26. </h1>
  27.  
  28. </div><!-- #heading -->
  29.  
  30. </div><!-- #list_category -->
  31.  
  32. <ol id="comments"><!-- main holder -->
  33.  
  34. <?php wp_list_comments( array( 'callback' => 'fear_comment' ) ); ?>
  35.  
  36. </ol>
  37.  
  38. <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
  39.  
  40. <div id="entries">
  41.  
  42. <div class="old_entries"><?php previous_comments_link( __( '<span class="meta-nav">&laquo;</span> Previous', 'fear' ) ); ?></div>
  43.  
  44. <div class="new_entries"><?php next_comments_link( __( 'Newer <span class="meta-nav">&raquo;</span>', 'fear' ) ); ?></div>
  45.  
  46. </div><!-- .navigation -->
  47.  
  48. <?php endif; // check for comment navigation ?>
  49.  
  50. <?php else : // or, if we don't have comments:
  51.  
  52. /* If there are no comments and comments are closed,
  53. * let's leave a little note, shall we?
  54. */
  55. if ( ! comments_open() ) :
  56. ?>
  57. <p class="nocomments"><?php _e( 'Comments are closed.', 'fear' ); ?></p>
  58. <?php endif; // end ! comments_open() ?>
  59.  
  60. <?php endif; // end have_comments() ?>
  61.  
  62. <div class="list_category no_margin_bottom">
  63.  
  64. <div class="heading"><h1 class="page_single_header"><?php _e('Leave A Reply', 'fear'); ?></h1></div>
  65.  
  66. </div><!-- #list_category -->
  67.  
  68. <?php comment_form(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement