<?php
/************* COMMENT LAYOUT *********************/
// Comment Form

    add_filter( 'comment_form_default_fields', 'verb_lite_bootstrap3_comment_form_fields' );
    function verb_lite_bootstrap3_comment_form_fields( $fields ) {
    $commenter = wp_get_current_commenter();
    $req = get_option( 'require_name_email' );
    $aria_req = ( $req ? " aria-required='true'" : '' );
    $fields = array(
    'author' => '<div class="form-group comment-form-author">' . '<label for="author">' . __( 'Name', 'verb-lite' ) . ( $req ? ' <span class="required">*</span>' : '' ) . '</label> ' .
    '<input class="form-control" id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' /></div>',
    'email' => '<div class="form-group comment-form-email"><label for="email">' . __( 'Email', 'verb-lite' ) . ( $req ? ' <span class="required">*</span>' : '' ) . '</label> ' .
    '<input class="form-control" id="email" name="email" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . ' /></div>',
    'url' => '<div class="form-group comment-form-url"><label for="url">' . __( 'Website', 'verb-lite' ) . '</label> ' .
    '<input class="form-control" id="url" name="url" value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30" /></div>',
    );
    return $fields;
    }

    add_filter( 'comment_form_defaults', 'verb_lite_bootstrap3_comment_form' );
    function verb_lite_bootstrap3_comment_form( $args ) {
    $args['comment_field'] = '<div class="form-group comment-form-comment">
    <label for="comment">' . _x( 'Comment', 'noun', 'verb-lite' ) . ( ' <span class="required">*</span>' ) . '</label>
    <textarea class="form-control" id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea>
    </div>';
    $args['class_submit'] = 'btn btn-primary'; // since WP 4.1
    return $args;
    }
