Advertisement
Guest User

Untitled

a guest
Aug 13th, 2012
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. <?php if ( post_password_required() ) : ?>
  2. <p><?php _e( 'This post is password protected. Enter the password to view any comments.', 'ari' ); ?></p>
  3. <?php
  4. /* Stop the rest of comments.php from being processed,
  5. * but don't kill the script entirely -- we still have
  6. * to fully load the template.
  7. */
  8. return;
  9. endif;
  10. ?>
  11.  
  12. <?php
  13. // You can start editing here -- including this comment!
  14. ?>
  15.  
  16. <div id="comments-content" class="clearfix">
  17.  
  18. <?php if ( have_comments() ) : ?>
  19.  
  20. <h3 id="comments"><?php
  21. printf( _n( 'One Comment', 'Comments (%1$s)', get_comments_number(), 'ari' ),
  22. number_format_i18n( get_comments_number() ), '' . get_the_title() . '' );
  23. ?></h3>
  24.  
  25. <ol class="commentlist">
  26. <?php wp_list_comments( array( 'callback' => 'ari_comment' ) ); ?>
  27. </ol>
  28.  
  29. <?php endif; // end have_comments() ?>
  30.  
  31. <?php comment_form(
  32. array(
  33. 'title_reply' => __( 'Leave a Reply', 'ari' ),
  34. 'comment_notes_before' =>__( '<p class="comment-notes">Required fields are marked <span class="required">*</span></p>', 'ari'),
  35. 'comment_notes_after' => '',
  36. 'comment_field' => '<p class="comment-form-comment"><label for="comment">' . _x( 'Comment', 'noun', 'ari' ) . '</label><br/><textarea
  37.  
  38. id="comment" name="comment" rows="8" aria-required="true"></textarea></p>',
  39. )
  40. ); ?>
  41.  
  42. <div class="emailmarg">Click <a href="http://feedburner.google.com/fb/a/mailverify?uri=IronWhisk" target="_blank" class="emailsub">here</a> to
  43.  
  44. subscribe to future posts by email.</div>
  45. <br>
  46.  
  47. <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
  48. <p class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'ari') ); ?></p>
  49. <p class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'ari') ); ?></p>
  50.  
  51. <?php endif; // check for comment navigation ?>
  52.  
  53.  
  54.  
  55. </div>
  56. <!--end Comments Content-->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement