Browse Source

Remove comments forms from single post pages.

Kjell Reigstad 4 years ago
parent
commit
ee8cc94689
3 changed files with 1 additions and 11 deletions
  1. 0 5
      blankie/page.php
  2. 0 5
      blankie/single.php
  3. 1 1
      blankie/style.css

+ 0 - 5
blankie/page.php

@@ -21,11 +21,6 @@ get_header();
 
 				get_template_part( 'template-parts/content/content-singular' );
 
-				// If comments are open or we have at least one comment, load up the comment template.
-				if ( comments_open() || get_comments_number() ) {
-					comments_template();
-				}
-
 			endwhile; // End of the loop.
 			?>
 

+ 0 - 5
blankie/single.php

@@ -21,11 +21,6 @@ get_header();
 
 				get_template_part( 'template-parts/content/content-singular' );
 
-				// If comments are open or we have at least one comment, load up the comment template.
-				if ( comments_open() || get_comments_number() ) {
-					comments_template();
-				}
-
 			endwhile; // End of the loop.
 			?>
 

+ 1 - 1
blankie/style.css

@@ -12,7 +12,7 @@ License: GNU General Public License v2 or later
 License URI: LICENSE
 Template: seedlet
 Text Domain: seedlet-blocks
-Tags: one-column, accessibility-ready, custom-colors, editor-style, featured-images, rtl-language-support, sticky-post, threaded-comments, translation-ready
+Tags: one-column, accessibility-ready, custom-colors, editor-style, featured-images, rtl-language-support, sticky-post, translation-ready
 
 Blankie WordPress Theme, (C) 2021 Automattic, Inc.
 Blankie is distributed under the terms of the GNU GPL.