Guest User

Untitled

a guest
Jul 21st, 2014
394
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.15 KB | None | 0 0
  1. <?php
  2. if ( post_password_required() )
  3.     return;
  4. ?>
  5.  
  6. <div id="comments" class="comments-area">
  7.  
  8.     <?php // You can start editing here -- including this comment! ?>
  9.  
  10.     <?php if ( have_comments() ) : ?>
  11.         <h2 class="comments-title">
  12.             <?php
  13.                 printf( _n( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'tiga' ),
  14.                     number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' );
  15.             ?>
  16.         </h2>
  17.  
  18.         <?php tiga_comment_nav(); ?>
  19.  
  20.         <ol class="commentlist">
  21.             <?php wp_list_comments( array( 'callback' => 'tiga_comment' ) ); ?>
  22.         </ol>
  23.  
  24.         <?php tiga_comment_nav(); ?>
  25.  
  26.     <?php endif; // have_comments() ?>
  27.  
  28.     <?php if ( ! comments_open() && '0' != get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) : ?>
  29.         <p class="nocomments"><?php _e( 'Comments are closed.', 'tiga' ); ?></p>
  30.     <?php endif; ?>
  31.  
  32.     <?php
  33.         $args = array(
  34.             'title_reply'           => __( 'Leave a Comment', 'tiga' ),
  35.             'label_submit'          => __( 'Send your comment', 'tiga' ),
  36.             'comment_notes_after'   => ''
  37.         );
  38.            
  39.         comment_form( $args );
  40.     ?>
  41.  
  42. </div><!-- #comments .comments-area -->
Advertisement
Add Comment
Please, Sign In to add comment