Disqus WordPress Plugin v2.61 Hack

Disqus is sweet. But the comment form wouldn’t load using the standard install of the WordPress plugin Disqus Comment System v2.61. Here’s a way around it:

There is a trailing space in the disqus_url. To fix it change Line 41 comments.php from:

var disqus_url = '<?php echo get_permalink(); ?> ';    // note the trailining space

To:

var disqus_url = '<?php echo get_permalink(); ?>';

Updated: I’ve updated thanks to Tyler’s feedback. Thanks!