DISQUS is pretty neat, but there’s no built-in way to make it obey the WP setting of ‘Allow comments on this post’. After a quick search around, I figured it out.
- Go to Plugins > Editor
- Select plugin DISQUS Comment System
- Edit the first file, ‘disqus-comment-system/disqus.php’
Around line 120 (you might need to copy this out into a text editor), add the following line.
if ( 'closed' == $post->comment_status ) { return false; }
Thanks to Ted Aronson for the tip, found on this blog.
UPDATED: 4 Mar 2011, new line number for code as plug-in has changed.
UPDATED: 3 Sep 2011, tip no longer relevant, functionality appears to be built-in to Disqus for WordPress, see last comment below.
Pingback: HOW-TO: Disable DISQUS comments on Wordpress pages « wonald.com | Squico
Pingback: Patch Disqus Plugin Agar `Allow Comments` di WordPress Tetap Berfungsi | Soluvas