From 2199d9e71638c392b649c2fc04f79da7b444a855 Mon Sep 17 00:00:00 2001 From: Adolfo Reyna Date: Fri, 13 Mar 2026 00:52:16 -0400 Subject: [PATCH] Refactor single article to Medium-style layout with minimal comments --- comments.php | 6 ++-- single.php | 100 ++++++++++++++++++++++++++++++--------------------- style.css | 12 +++---- 3 files changed, 68 insertions(+), 50 deletions(-) diff --git a/comments.php b/comments.php index 08fcb22..53f8300 100644 --- a/comments.php +++ b/comments.php @@ -54,11 +54,11 @@ if (post_password_required()) { endif; // Check for have_comments(). $args = array( - 'class_form' => 'comment-form mt-4 p-4 rounded bg-white shadow-sm border', + 'class_form' => 'comment-form mt-4', 'class_submit' => 'btn btn-secondary fw-bold text-uppercase mt-3', - 'title_reply_before' => '

', + 'title_reply_before' => '

', 'title_reply_after' => '

', - 'comment_field' => '
', + 'comment_field' => '
', ); comment_form($args); ?> diff --git a/single.php b/single.php index 4d529a1..d5b2122 100644 --- a/single.php +++ b/single.php @@ -11,33 +11,47 @@ get_header(); ?> the_post(); ?>
> -
- - ', ''); ?> -
+
+
+
+ ', ''); ?> - -
- 'img-fluid rounded shadow-sm w-100', - 'style' => 'aspect-ratio: 16/9; object-fit: cover;' - )); ?> -
- +
+
+ 'rounded-circle')); ?> +
+
+
+ +
+
+
-
-
-
+ +
+ 'img-fluid w-100', + 'style' => 'aspect-ratio: 16/9; object-fit: cover;' + )); ?> +
+ + +
'
-
+
+
- + + - + - - - +