Refactor single article to Medium-style layout with minimal comments

This commit is contained in:
Adolfo Reyna
2026-03-13 00:52:16 -04:00
parent 1177b0ca47
commit 2199d9e716
3 changed files with 68 additions and 50 deletions

View File

@@ -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' => '<h2 id="reply-title" class="comment-reply-title h3 font-serif mb-4">',
'title_reply_before' => '<h2 id="reply-title" class="comment-reply-title h4 font-sans mb-4">',
'title_reply_after' => '</h2>',
'comment_field' => '<div class="comment-form-comment mb-3"><label for="comment" class="form-label fw-bold">Your Perspective <span class="text-danger">*</span></label><textarea id="comment" name="comment" cols="45" rows="6" maxlength="65525" required="required" class="form-control bg-light"></textarea></div>',
'comment_field' => '<div class="comment-form-comment mb-3"><label for="comment" class="form-label text-muted small text-uppercase tracking-wider fw-bold">Add a Perspective <span class="text-danger">*</span></label><textarea id="comment" name="comment" cols="45" rows="4" maxlength="65525" required="required" class="form-control"></textarea></div>',
);
comment_form($args);
?>