• 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)
  • @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

    (@hilltopdesign)

    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.

    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.