Title: Remove &#8220;Comments&#8221; text
Last modified: August 19, 2016

---

# Remove “Comments” text

 *  [pattip](https://wordpress.org/support/users/pattip/)
 * (@pattip)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/remove-comments-text-1/)
 * How would you go about removing the text “comments are closed” from a WordPress
   ready to use page?
 * Thanks!

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/remove-comments-text-1/#post-1187004)
 * You could try editing the relevant template file and, where you see:
 * `<?php comments_popup_link([...]); ?>`
 * add `<?php if('open' == $post->comment_status) : ?>` **immediately before** this
   tag and `<?php endif;?>` **immediately after**. The whole thing should then look
   like:
 * `<?php if('open' == $post->comment_status) : ?><?php comments_popup_link([...]);?
   ><?php endif;?>`
 *  Thread Starter [pattip](https://wordpress.org/support/users/pattip/)
 * (@pattip)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/remove-comments-text-1/#post-1187054)
 * I am probably looking in the wrong place, but I am unable to find that particular
   line.
 *  Thread Starter [pattip](https://wordpress.org/support/users/pattip/)
 * (@pattip)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/remove-comments-text-1/#post-1187071)
 * This is the closest I could find. Can anyone help? Thanks!
 * <?php else : // this is displayed if there are no comments so far ?>
 *  <?php if (‘open’ == $post->comment_status) : ?>
    <!– If comments are open, but
   there are no comments. –>
 *  <?php else : // comments are closed ?>
    <!– If comments are closed. –> <p class
   =”nocomments”><?php _e(‘Comments are closed’,’panorama’) ; ?></p>
 *  <?php endif; ?>
    <?php endif; ?>
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/remove-comments-text-1/#post-1187197)
 * Try removing:
 *     ```
       <?php else : // comments are closed ?>
       <!-- If comments are closed. -->
       <p class="nocomments"><?php _e('Comments are closed','panorama') ; ?></p>
       ```
   

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

The topic ‘Remove “Comments” text’ is closed to new replies.

## Tags

 * [Comments](https://wordpress.org/support/topic-tag/comments/)
 * [remove comments](https://wordpress.org/support/topic-tag/remove-comments/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [16 years, 9 months ago](https://wordpress.org/support/topic/remove-comments-text-1/#post-1187197)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
