Khore

  1. Home
  2. Docs
  3. Khore
  4. Frequently Asked Questions
  5. How to remove comments section from posts page?

How to remove comments section from posts page?

To remove comments section, please do the following:

1) Please activate child theme as per the below tutorial:
https://showthemes.zendesk.com/docs/khore/how-to-activate-a-child-theme/

2) Copy khore/post-content.php to khore-child/

3) Open khore-child/post-content.php

4) Around line number 52, you can find:

<div class=”news__comments”><i class=”fa fa-comment-o”></i> <?php echo get_comments_number(); ?> COMMENTS</div>

5) Please remove this line of code.

6) Around line number 66, you can find:

<?php comments_template(); ?>

7) Please remove this line of code also.

8) Save the file.

This will remove the comments template.

Was this article helpful to you? Yes No