What's the easiest way to temporarily turn off comments for existing posts (v2.0.4)?
What's the easiest way to temporarily turn off comments for existing posts (v2.0.4)?
admin -> Options -> Discussion
Uncheck box for "Allow people to post comments on the article"
That only appears to turn off comments for articles published from that point onwards. I want to know how to temporarily turn off the ability to further comment on existing articles (without hiding the comments already made).
An old plugin, but I assume it still works for 2.x:
http://weblogtoolscollection.com/archives/2004/09/01/stop-comments-plugin-and-take-down-blog-plugin/
Thanks, that does the trick. Pity it doesn't hide the comments form though. I hate to think of people writing a comprehensive repiy only to be told comments are not being accepted.
Quick and extremely dirty way:
Edit your comments.php file in your theme.
At the top, just after the "<?php" line, add this line:
$post->comment_status = 'closed';
This won't actually prevent commenting, but it will hide the comment form.
Remove the line later.
Thanks Otto.
This topic has been closed to new replies.