diff --git a/comments.php b/comments.php index 786f9e6d..03e71b69 100644 --- a/comments.php +++ b/comments.php @@ -42,13 +42,11 @@ if ( post_password_required() ) {
    '_s_comment' ) ); + wp_list_comments( array( + 'style' => 'ol', + 'short_ping' => true, + 'avatar_size' => 74, + ) ); ?>
diff --git a/inc/template-tags.php b/inc/template-tags.php index 128a4790..20929773 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -65,66 +65,6 @@ function _s_post_nav() { } endif; -if ( ! function_exists( '_s_comment' ) ) : -/** - * Template for comments and pingbacks. - * - * Used as a callback by wp_list_comments() for displaying the comments. - */ -function _s_comment( $comment, $args, $depth ) { - $GLOBALS['comment'] = $comment; - - if ( 'pingback' == $comment->comment_type || 'trackback' == $comment->comment_type ) : ?> - -
  • > -
    - ', '' ); ?> -
    - - - -
  • > -
    -
    -
    - - says:', '_s' ), sprintf( '%s', get_comment_author_link() ) ); ?> -
    - - - - comment_approved ) : ?> -

    - -
    - -
    - -
    - - 'div-comment', - 'depth' => $depth, - 'max_depth' => $args['max_depth'], - 'before' => '
    ', - 'after' => '
    ', - ) ) ); - ?> -
    - -