+
-
+
+
-
Related: ', '', ''); ?>
-
+
- diff --git a/comments.php b/comments.php index b8fee55..08fcb22 100644 --- a/comments.php +++ b/comments.php @@ -3,26 +3,26 @@ * The template for displaying comments */ -if ( post_password_required() ) { +if (post_password_required()) { return; } ?>
' . get_the_title() . '' ); } else { printf( - esc_html( _nx( '%1$s thought on “%2$s”', '%1$s thoughts on “%2$s”', $comment_count, 'comments title', 'wisdom1' ) ), - number_format_i18n( $comment_count ), + esc_html(_nx('%1$s thought on “%2$s”', '%1$s thoughts on “%2$s”', $comment_count, 'comments title', 'wisdom1')), + number_format_i18n($comment_count), '' . get_the_title() . '' ); } @@ -33,7 +33,7 @@ if ( post_password_required() ) { 'ol', + 'style' => 'ol', 'short_ping' => true, 'avatar_size' => 60, ) @@ -45,20 +45,22 @@ if ( post_password_required() ) { the_comments_navigation(); // If comments are closed and there are comments, let's leave a little note, shall we? - if ( ! comments_open() ) : + if (!comments_open()): ?> -
+ '', - 'title_reply_after' => '
', - ) + + $args = array( + 'class_form' => 'comment-form mt-4 p-4 rounded bg-white shadow-sm border', + 'class_submit' => 'btn btn-secondary fw-bold text-uppercase mt-3', + 'title_reply_before' => '', + 'title_reply_after' => '
', + 'comment_field' => '', ); + comment_form($args); ?> -