From fcb4ea418854414addd135ce6bb84c187a1bc221 Mon Sep 17 00:00:00 2001 From: Adolfo Reyna Date: Fri, 13 Mar 2026 00:53:39 -0400 Subject: [PATCH] Refine comment form input styling to match Medium aesthetic --- comments.php | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) 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); ?>