How to: Get rid of the comment section on your WordPress blog

Altought it can be weird in some points because comments are an important part of a blog, I have read many user asking how they can get rid of the “comments” section on their WordPress theme. That’s very easy to do. Just read on.

Removing the comments section on a blog can sound weird at first, but sometimes you just want to spread some news without getting any feedback.
In case you don't want any post to be commented, just edit your single.php file from your theme.

Find the following line:

<?php comments_template(); ?>

and delete it. THat's simple at that!

9 Responses

Jul 17 2011 09:48

Or if youy just want to disable it, but be able to reenabe it an any time easy just comment it out like such:

<?php //comments_template(); ?>

Jul 30 2011 23:39

I would like to know how to disable comments from a single page. Or even from all pages. But leave a comments section on the Blog Home page. Can you help me with this?

Would be much appreciated!

Aug 02 2011 08:34

I am far more of a beginner than that. Could you tell me how to find the php file in the first place?

Aug 03 2011 01:52

@Mayana – Where you see [code][/code]
Change to:
[code][/code]

@Jon – You can find this line at:
wp-content/themes/**THEMENAME**/single.php

The **THEMENAME** will depend on what your active theme is.

Hope this helps, if not click on my name and use the contact us page and get in touch and I shall try and help you further.

Aug 16 2011 20:51

Thanks for this very useful post. I’m experimenting with just using facebook comments, and wanted to know how to turn off my WP comments. This did the trick!

Aug 17 2011 04:30

for one’s who need to disable and re-enable the comments section, there is an easier way.
When you write a comment or a post, you will have an option to disable comments on specific pages or posts.
If you donot see this option, click on screen options on the top right of the edit post or page screen and check the discussion box.
Now you will see the disable comment and trackback option just below the space where you type content for your post or page
This way you don’t have to mess with the comments.php page and can be enabled whenever you want.
—peace—-

Nov 08 2011 16:30

How do you list all comments from your site on your home page?

Nov 08 2011 18:16

Anyone know how to “comment-out” the comments section for a particular page, but then add comments from a different post?

Can I use the disable option when I write the post, but then insert the get_comment code on the page somehow (and where?)

Dec 15 2011 21:02

how do I change the email address where comments go to on my wordpress site?

Trackbacks:

Leave a Comment

* Name, Email, Comment are Required