diff --git a/comments.php b/comments.php index 53f8300..5c3017a 100644 --- a/comments.php +++ b/comments.php @@ -53,12 +53,21 @@ if (post_password_required()) { endif; // Check for have_comments(). + $commenter = wp_get_current_commenter(); + $req = get_option('require_name_email'); + $html_req = ($req ? " required='required'" : ''); + $args = array( 'class_form' => 'comment-form mt-4', - 'class_submit' => 'btn btn-secondary fw-bold text-uppercase mt-3', - 'title_reply_before' => '

', + 'class_submit' => 'btn btn-secondary fw-bold text-uppercase mt-4 px-4 py-2', + 'title_reply_before' => '

', 'title_reply_after' => '

', - 'comment_field' => '
', + 'comment_field' => '
', + 'fields' => array( + 'author' => '
', + 'email' => '
', + 'url' => '
', + ), ); comment_form($args); ?>