* Template for comments and pingbacks. * * To override this walker in a child theme without modifying the comments template * simply create your own pilcrow_comment(), and that function will be used instead. * * Used as a callback by wp_list_comments() for displaying the comments. * * @since Pilcrow 1.0 */ function pilcrow_comment( $comment, $args, $depth ) { $GLOBALS['comment'] = $comment; switch ( $comment->comment_type ) : case '' : ?>
  • id="li-comment-">
    %s', get_comment_author_link() ) ); ?>
    comment_approved == '0' ) : ?>
    $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>