Refactor single article to Medium-style layout with minimal comments
This commit is contained in:
@@ -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);
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user