Title: Plugin to remove all comment fields?
Last modified: August 19, 2016

---

# Plugin to remove all comment fields?

 *  [hilltopdesign](https://wordpress.org/support/users/hilltopdesign/)
 * (@hilltopdesign)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/plugin-to-remove-all-comment-fields/)
 * Surely I’m not the only one who would be a happy camper to have a plugin that
   would remove Leave A Comment, X number of comments, all references to comments
   on the entire site.
 * Building a web site to use as a CMS means I have to go in and manually strip 
   all this code out by hand. And a lot of times, it ends up leaving dedicated spaces
   in the theme where text used to appear, which looks goofy.
 * I’m developing a real estate site, using WP as the CMS. There’s no reason for
   comments, and they’re not useful nor desired in this instance. And what sucks
   is that every time I need to make a change to the theme, I have to go back on
   and hack, hack, hack at the theme’s php files.
 * So, aside from having to do this manually, is it possible to develop a plug in
   that would remove all things comments related in a theme? Anyone know of something
   that’s close, that might do away with it all?
 * I have gone in and turned off comments, but it still leaves snippets of code 
   saying Comments Are Disabled, 2 Comments, Leave a Comment, etc. It’s just clutter
   and a pain in the rear end to have to go in and remove this stuff after every
   theme change. Surely there’s a better way of doing this?
 * If someone were to develop a plugin that would allow me to check or uncheck boxes
   to display or remove comments, as well as it displaying comment related things,
   I’d be deeply indebted. Me love you long time and then some. 😉
 * Thanks in advance-
 * Steve

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

 *  [Robert S](https://wordpress.org/support/users/rschilt/)
 * (@rschilt)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/plugin-to-remove-all-comment-fields/#post-1330275)
 * [@hilltopdesign](https://wordpress.org/support/users/hilltopdesign/),
 * Just turn comments off in the WP admin panel. All references to comments will
   then be removed from site visitors.
 * R
 *  Thread Starter [hilltopdesign](https://wordpress.org/support/users/hilltopdesign/)
 * (@hilltopdesign)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/plugin-to-remove-all-comment-fields/#post-1330477)
 * I had done that, but I was still seeing Comments Closed, deleting the code that
   displays those words, in some themes, still leaves a blank area in the theme 
   where those words had appeared. It’d rock to have a plug in to take care of all
   of this sort of thing in one fell swoop.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/plugin-to-remove-all-comment-fields/#post-1330478)
 * I doubt that’s practical. The variation between themes and how they display the
   various comment-related objects is just too great for a plugin to be able to 
   effectively manage them all.
 * If you want to remove the Comments Closed statement, you can edit the relevant
   theme template files and change:
 * `<?php comments_popup_link(...); ?>`
 * to
 * `<?php if('open' == $post->comment_status) : ?><?php comments_popup_link(...);?
   ><?php endif;?>`

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

The topic ‘Plugin to remove all comment fields?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [16 years, 5 months ago](https://wordpress.org/support/topic/plugin-to-remove-all-comment-fields/#post-1330478)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
