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

---

# Remove “Comments” text

 *  [bboston7](https://wordpress.org/support/users/bboston7/)
 * (@bboston7)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/remove-comments-text/)
 * How do you remove the “Comments are closed” text?
 * I would also like to remove the “Last Modified” text if possible.

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

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/remove-comments-text/#post-890182)
 * If you were using the WordPress Default theme you would remove the reference 
   to the comments_popup_link in the wp-content/themes/default/index.php. In other
   words, delete this code:
 * `<?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?
   >`
 * It is likely the “Last Modified” and the_time or the_date would need to be deleted
   from your index.php file.
 * Resources:
    [Stepping Into Templates](http://codex.wordpress.org/Stepping_Into_Templates)
   [Template Hierarchy](http://codex.wordpress.org/Template_Hierarchy) [Stepping Into Template Tags](http://codex.wordpress.org/Stepping_Into_Template_Tags)
 *  [jarretcade](https://wordpress.org/support/users/jarretcade/)
 * (@jarretcade)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/remove-comments-text/#post-890258)
 * Go into your theme’s directory and open up comments.php. Inside of that file 
   do a search for Comments are closed and just erase that.
 * If your comments.php file is unchanged the code that you are wanting to remove
   will look like
 *     ```
       <p class="nocomments">Comments are closed.</p>
       ```
   
 * That line of code is located on line 59.
 * Just remove that code and nothing else. Leave all the other code around it alone
   because if you mess with that it will more then likely screw up your whole theme
   and throw an error.
 *  [tvbitch](https://wordpress.org/support/users/tvbitch/)
 * (@tvbitch)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/remove-comments-text/#post-890606)
 * Maybe someone can help me here?!
 * If you referenece [http://www.imontvbitch.com](http://www.imontvbitch.com) page
   BLAH BLAH, I’m trying to remove comments from certain static pages that don’t
   have posts. However I don’t want to delete the code from appearing on all static
   pages.
 * And when I say remove I mean keep the dotted line, “No comments” text, image 
   line, and “Sorry the comments form is closed at this time” text from appearing.
   The 4 items that are thrown at the bottom.
 * Any ideas??

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

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

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

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
