Disable disqus on pages [closed]

I downloaded the source and took a look, I see that Disqus hooks onto the comments_template filter so you can try this; //hook onto comments_template filter with priority 1 add_filter( ‘comments_template’ , ‘disable_disqus’, 1 ); function disable_disqus($file) { //if not blog page, remove disqus filter if( !is_page(‘blog’) ) { remove_filter(‘comments_template’, ‘dsq_comments_template’); } //returns regular comments … Read more

How to speed wordpress disqus plugin loading?

Hiding the comments until click are two possible solutions: http://www.paulund.co.uk/ajax-disqus-comment-system http://blog.yjl.im/2012/04/let-your-readers-decide-when-to-load.html http://help.disqus.com/customer/portal/articles/472097-universal-embed-code

How to display Disqus comment count in WordPress?

Integrating Disqus Into WordPress Without a Plugin As we discussed earlier, doing stuff without plugins helps us optimize our website – a single query is a single query, right? Anyways, here are the functions that we’re going to use – like always, add these inside your theme’s functions.php file: Embedding Disqus Comments function disqus_embed($disqus_shortname) { … Read more