comment_type ) : case 'pingback' : case 'trackback' : if ( 'div' == $args['style'] ) { $tag = 'div'; $add_below = 'comment'; } else { $tag = 'li'; $add_below = 'div-comment'; } ?>
  • id="comment-">

    ', '' ); ?>

  • id="li-comment-">
    %s', get_comment_author_link() ) ); ?> 'div-comment', 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> ', '' ); ?>
    comment_approved ) : ?>

    '; // ... and remove it from the defaults array. $input['comment_field'] = ''; return $input; } print apply_filters( 'comment_form_field_comment', $textarea ); } add_filter( 'comment_form_defaults', 'bluemed_move_comment_textarea' ); add_action( 'comment_form_top', 'bluemed_move_comment_textarea' ); function bluemed_add_commentform_avatar($input = array()) { $current_user = wp_get_current_user(); $avatar = get_avatar($current_user->user_email, 96 ); echo $avatar; } add_filter( 'comment_form_before', 'bluemed_add_commentform_avatar' ); function bluemed_add_commentform_clear($input = array()) { echo '
    '; } add_filter( 'comment_form', 'bluemed_add_commentform_clear' );