| 123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- /**
- * The template for displaying comments
- *
- * This is the template that displays the area of the page that contains both the current comments and the comment form.
- *
- * @version taskereasy 1.0.0
- */
- if ( post_password_required() ) {
- return;
- }
- ?>
- <?php if ( number_format_i18n(get_comments_number())!=0 ){ ?>
- <div class="comment-list-wrap">
- <h5><?php printf(_n('1 Comment','%s Comments',get_comments_number(),'taskereasy'),number_format_i18n( get_comments_number() )); ?></h5>
- <ol class="comment-list">
- <?php
- wp_list_comments( array(
- 'avatar_size' => 70,
- 'style' => 'ol',
- 'callback' => 'taskereasy_comment_form',
- 'short_ping' => true,
- ) );
- ?>
- </ol>
- <div class="comment-pagination">
- <?php
- previous_comments_link();
- next_comments_link();
- ?>
- </div>
- </div>
- <?php } ?>
- <?php comment_form(); ?>
|