WP Theme Question

Randy569

Junior Member
Joined
Feb 3, 2009
Messages
174
Reaction score
385
Does anyone have any idea on how to get rid of the comment box on a WP theme?

I don't want to just disable the comments, I want to ditch the comment box completely. I want no comment capability on the page whatsoever.

I know you have to modify the CSS folder, and I managed to get rid of it on the home page, but it still appears on all the subsequent pages.

I searched Google, and all the suggestions available were obsolete.

Any ideas?

(If it helps, I'm using the Heatmap theme.)
 
Maybe I can help you. I have HeatMap theme too.

You can hide comments on HeatMap Options menu - Post section
 
Last edited:
Just find this code on your single.php file

<?php comments_template(); ?>

remove it..or simply add <!-- code -->
 
Not that easy if you want to remove comment count too :)
 
I don't have the heatmap theme so I cannot look specifically .. but in most WP themes the comments scripting and layout resides in the functions.php file in the theme directory.

So as stated above the single.php file has the code <?php comments_template(); ?> which calls this function and the main code is in functions.php
 
I really appreciate the responses. Thanks given.


Maybe I can help you. I have HeatMap theme too.

You can hide comments on HeatMap Options menu - Post section

Tried that. It still leaves the comment box. I also managed to get those files you sent, they didn't work, the box is still there.

Just find this code on your single.php file

<?php comments_template(); ?>

remove it..or simply add <!-- code -->

Tried that before I posted the thread. That killed the box on the home page, but the box is still there on the subsequent pages.


Maybe this can't be done. :(
 
For anyone still wishing to know if this can be done, you can permanently remove comments simply by deleting all the text from the comments.php file.

Obviously make a backup of the file just in case you want to add the comments back at a later date.
 
Back
Top