Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 06-18-2009, 06:56 AM   #1
HyperActive Warrior
War Room Member
 
Eswar's Avatar
 
Join Date: Aug 2008
Posts: 445
Thanks: 29
Thanked 24 Times in 20 Posts
Default How to disable Comments in Wordpress blogs for all posts?

Hello warriors,
I am sick of spam comments received in all of my wordpress blogs. So i wish to disable comments in all of my posts in all blogs. But i dont know how to do it. Can anyone tell me how to do this?

Thanks
Eswar

Eswar is offline   Reply With Quote
Old 06-18-2009, 07:05 AM   #2
Warrior Member
 
Join Date: Jun 2009
Posts: 21
Thanks: 0
Thanked 1 Time in 1 Post
Default Re: How to disable Comments in Wordpress blogs for all posts?

Just go to Settings>Discussion> Uncheck "Allow people to comment on the article"

Affiliates earn 75% per sale - converts in almost ANY niche - TBT Pre-Launch Blog
rbthanders is offline   Reply With Quote
Old 06-18-2009, 07:07 AM   #3
Active Warrior
 
Join Date: May 2009
Posts: 36
Thanks: 0
Thanked 3 Times in 3 Posts
Contact Info
Send a message via Yahoo to innovator
Default Re: How to disable Comments in Wordpress blogs for all posts?

when you create a post, scroll down to the "discussion" palette and unchecked "allow comments on this post"..
innovator is offline   Reply With Quote
Old 06-18-2009, 07:15 AM   #4
HyperActive Warrior
 
Kat Fuschillo's Avatar
 
Join Date: May 2009
Location: London
Posts: 110
Thanks: 14
Thanked 2 Times in 2 Posts
Social Networking View Member's Twitter Profile 
Default Re: How to disable Comments in Wordpress blogs for all posts?

I've been wondering how to do that. Those constant comments are getting soooo annoying.
Thanks guys.

Need Killer content? Head to -www.KatFuschillo.com
Kat Fuschillo is offline   Reply With Quote
Old 06-18-2009, 07:27 AM   #5
HyperActive Warrior
War Room Member
 
Eswar's Avatar
 
Join Date: Aug 2008
Posts: 445
Thanks: 29
Thanked 24 Times in 20 Posts
Default Re: How to disable Comments in Wordpress blogs for all posts?

Thank you Guys,

Quote:
Just go to Settings>Discussion> Uncheck "Allow people to comment on the article"
This idea works for the new posts in future. But still i have to edit the old posts to uncheck the " Allow comments on this post"

Is there any other idea to change this settings at once for all old posts?

Thanks
Eswar

Eswar is offline   Reply With Quote
Old 06-18-2009, 09:07 AM   #6
Senior Warrior Member
War Room Member
 
bgmacaw's Avatar
 
Join Date: Aug 2008
Location: Atlanta GA Metro Area, USA.
Posts: 3,643
Blog Entries: 5
Thanks: 311
Thanked 925 Times in 644 Posts
Social Networking View Member's Twitter Profile 
Default Re: How to disable Comments in Wordpress blogs for all posts?

My formula on my niche WordPress blogs is to use Akismet and moderate all comments. If a particular site gets hit hard with auto-spam I use a captcha plugin. This means that I never have to deal with spam comments while I can preserve good, legit, comments that provide SEO benefits from updated content and additional keywords.

However, if you want to disable comments entirely, the best way is to edit the theme's single.php (assuming it's following the standard WordPress design) and remove the call to
PHP Code:
<?php comments_template(); ?>
. This way no comment form will be shown at all.

bgmacaw is offline   Reply With Quote
Old 06-18-2009, 09:13 AM   #7
HyperActive Warrior
War Room Member
 
David Hamer's Avatar
 
Join Date: Jun 2009
Location: Liverpool, UK
Posts: 145
Thanks: 57
Thanked 31 Times in 24 Posts
Social Networking View Member's Twitter Profile  View Member's YouTube Profile
Default Re: How to disable Comments in Wordpress blogs for all posts?

Hi Eswar

I know that getting loads of spam comments is annoying - but providing you have the Akismet plugin installed - all the fake comments should hopefully be filtered out.

One of the great benefits of having a blog is the fact you can receive replies which helps in so many ways - e.g. for building a following and also for helping your search engine results etc..

Providing you are creating good content which is relevant and worthwhile - I would definitely be encouraging comments not disabling them.

Best wishes - Dave


Get My 5 Free Wordpress PLUGIN Help Videos (WSO)

(Learn How to Transform Your Blog and SAVE Loads of TIME, HASSLE and STRESS)


David Hamer is offline   Reply With Quote
Old 06-18-2009, 09:15 AM   #8
HyperActive Warrior
War Room Member
 
zulfnore's Avatar
 
Join Date: Jun 2009
Location: United Kingdom
Posts: 218
Thanks: 39
Thanked 60 Times in 48 Posts
Social Networking View Member's Myspace Profile  View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Yahoo to zulfnore Send a message via Skype™ to zulfnore
Default Re: How to disable Comments in Wordpress blogs for all posts?

Quote:
Originally Posted by bgmacaw View Post
My formula on my niche WordPress blogs is to use Akismet and moderate all comments. If a particular site gets hit hard with auto-spam I use a captcha plugin. This means that I never have to deal with spam comments while I can preserve good, legit, comments that provide SEO benefits from updated content and additional keywords.

However, if you want to disable comments entirely, the best way is to edit the theme's single.php (assuming it's following the standard WordPress design) and remove the call to
PHP Code:
<?php comments_template(); ?>
. This way no comment form will be shown at all.
2nd that - but I wouldn't say remove it alltogether. Jus disable it by quoting it thus:
PHP Code:
<!--<?php comments_template(); ?>-->
This way should you want to allow comments in the future all you do is remove the quotes and all will be back to normal.

zulfnore is offline   Reply With Quote
Old 06-18-2009, 09:23 AM   #9
Watching you...
War Room Member
 
Istvan Horvath's Avatar
 
Join Date: Dec 2008
Location: Waterdown, Ontario, Canada
Posts: 5,988
Blog Entries: 2
Thanks: 1,576
Thanked 2,726 Times in 1,656 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to Istvan Horvath
Default Re: How to disable Comments in Wordpress blogs for all posts?

Quote:
Originally Posted by zulfnore View Post
Jus disable it by quoting it thus:
PHP Code:
<!--<?php comments_template(); ?>-->
This way should you want to allow comments in the future all you do is remove the quotes and all will be back to normal.
If you really want to stop that PHP code from running you should rather comment it out in this way:

PHP Code:
<?php // comments_template(); ?>
What you presented is the HTML comment out, which means it will not show up on the page but will be still running in the background and available for automatic spammer bots/scripts. If you use the PHP comment-out shown above it prevents the script from running.

In the first half of the year we are supposed to work for the taxman. I think that's a mistake.
Help me to get rid of the taxman ASAP - thanks! (You, too, should make less mistakes!)


Istvan Horvath is online now   Reply With Quote
Old 06-18-2009, 09:31 AM   #10
HyperActive Warrior
War Room Member
 
zulfnore's Avatar
 
Join Date: Jun 2009
Location: United Kingdom
Posts: 218
Thanks: 39
Thanked 60 Times in 48 Posts
Social Networking View Member's Myspace Profile  View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Yahoo to zulfnore Send a message via Skype™ to zulfnore
Default Re: How to disable Comments in Wordpress blogs for all posts?

Quote:
Originally Posted by The Pension Guy View Post
If you really want to stop that PHP code from running you should rather comment it out in this way:

PHP Code:
<?php // comments_template(); ?>
What you presented is the HTML comment out, which means it will not show up on the page but will be still running in the background and available for automatic spammer bots/scripts. If you use the PHP comment-out shown above it prevents the script from running.
I stand corrected, The Pension Guy's commenting out is a better method

zulfnore is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum

Tags
blogs, comments, disable, posts, wordpress

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 09:55 PM.