Title: removing comment section
Last modified: August 20, 2016

---

# removing comment section

 *  [programAngel](https://wordpress.org/support/users/programangel/)
 * (@programangel)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/removing-comment-section/)
 * Hi, I have disabled the comment in my wordpress blog.
 * However while no one can comment, they still see a rectangular with the text “
   Comments are closed.”.
 * How can I remove this rectangular with together with the message “Comments are
   closed.”?
 * I mean totally get rid of it.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/removing-comment-section/#post-2388228)
 * > How can I remove this rectangular with together with the message “Comments 
   > are closed.”?
 * this will depend on your theme – pleas post more details such as the name of 
   your theme and a link to your site.
 * possibly search the templates single.php and page.php for ‘comments_template()’
   and remove this code (?)
 *  Thread Starter [programAngel](https://wordpress.org/support/users/programangel/)
 * (@programangel)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/removing-comment-section/#post-2388251)
 * **Thank you very much for your response.**
 * My theme is Piano Black.
 * But I didn’t found any of the files (single.php and page.php) any comments_template()
   string.
 * So what do I need in theme to change in order to remove the comment section.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/removing-comment-section/#post-2388258)
 * > So what do I need in theme to change in order to remove the comment section.
 * look again.
 * in page.php, single.php:
 *     ```
       <?php if (function_exists('wp_list_comments')) { comments_template('', true); } else { comments_template(); } ?>
       ```
   
 * there are more page-…php templates you might need to check
 *  Thread Starter [programAngel](https://wordpress.org/support/users/programangel/)
 * (@programangel)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/removing-comment-section/#post-2388386)
 * you are right.
 * Thank you very much!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘removing comment section’ is closed to new replies.

## Tags

 * [comment](https://wordpress.org/support/topic-tag/comment/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [programAngel](https://wordpress.org/support/users/programangel/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/removing-comment-section/#post-2388386)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
