From 2704c83236993e17a1a1981a9818f09d7f0bd61d Mon Sep 17 00:00:00 2001 From: jorge-vitrubio Date: Sat, 24 Dec 2022 18:44:49 +0100 Subject: [PATCH] removed comments by default --- single.php | 2 +- template-parts/content-search.php | 2 +- template-parts/content.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/single.php b/single.php index d32c247..8d6e671 100644 --- a/single.php +++ b/single.php @@ -27,7 +27,7 @@ get_header(); // If comments are open or we have at least one comment, load up the comment template. if ( comments_open() || get_comments_number() ) : - comments_template(); +// comments_template(); endif; endwhile; // End of the loop. diff --git a/template-parts/content-search.php b/template-parts/content-search.php index 49f550a..69b5625 100644 --- a/template-parts/content-search.php +++ b/template-parts/content-search.php @@ -17,7 +17,7 @@
diff --git a/template-parts/content.php b/template-parts/content.php index c46df2a..9693b0c 100644 --- a/template-parts/content.php +++ b/template-parts/content.php @@ -23,7 +23,7 @@