wpex_heading(array('content' => $comments_title, 'tag' => 'h2', 'classes' => array('comments-title'), 'apply_filters' => 'comments')); ?> <ol class="comment-list"> <?php // List comments wp_list_comments(array('style' => 'ol', 'avatar_size' => 50, 'format' => 'html5')); ?> </ol><!-- .comment-list --> <?php // Display comment navigation - WP 4.4.0 if (function_exists('the_comments_navigation')) { ?> <?php the_comments_navigation(array('prev_text' => '<span class="fa fa-angle-left"></span>', 'next_text' => '<span class="fa fa-angle-right"></span>')); ?> <?php } elseif (get_comment_pages_count() > 1 && get_option('page_comments')) { ?> <div class="comment-navigation wpex-clr"> <?php paginate_comments_links(array('prev_text' => '<span class="fa fa-angle-left"></span>', 'next_text' => '<span class="fa fa-angle-right"></span>')); ?> </div> <?php } ?>
} ?> </h2> <?php the_comments_navigation(); ?> <ol class="comments__list"> <?php wp_list_comments(array('style' => 'ol', 'short_ping' => true, 'avatar_size' => 42)); ?> </ol> <?php the_comments_navigation(); ?> <?php } ?> <?php // If comments are closed and there are comments, let's leave a little note, shall we? if (!comments_open() && get_comments_number() && post_type_supports(get_post_type(), 'comments')) { ?> <p class="no-comments"><?php _e('Comments are closed.', 'twentysixteen'); ?> </p> <?php