post_author; switch ( $comment->comment_type ) : case 'pingback' : case 'trackback' : // Display trackbacks differently than normal comments. ?>
  • >
  • comment_approved ) : ?>

    __( 'reply', 'bpt-bootstrap' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
    ' . '
    '; $fields['email'] = '
    ' . '
    '; $fields['url'] = ''; return $fields; } add_filter('comment_form_default_fields','bptbootstrap_modify_comment_form_fields'); } // Unset default input field from comment form if ( ! function_exists( 'bptbootstrap_crunchify_move_comment_form_below' ) ){ function bptbootstrap_crunchify_move_comment_form_below( $fields ) { $comment_field = $fields['comment']; unset( $fields['comment'] ); $fields['comment'] = $comment_field; return $fields; } add_filter( 'comment_form_fields', 'bptbootstrap_crunchify_move_comment_form_below' ); } if ( ! function_exists( 'bptbootstrap_wpsites_modify_comment_form_text_area' ) ){ function bptbootstrap_wpsites_modify_comment_form_text_area($arg) { $arg['comment_field'] = '
    '; return $arg; } add_filter('comment_form_defaults', 'bptbootstrap_wpsites_modify_comment_form_text_area'); } /** * Remove the original comment button */ if ( ! function_exists( 'bptbootstrap_comment_form_submit_button' ) ){ function bptbootstrap_enpty_btn($button){ return $button =''; } add_filter('bptbootstrap_comment_form_submit_button', 'bptbootstrap_enpty_btn'); function bptbootstrap_comment_form_submit_button($button) { $button = '
    '; return $button; } add_filter('bptbootstrap_comment_form_submit_button', 'bptbootstrap_comment_form_submit_button'); }