Download This Plugin | |
Download Elegant Themes | |
Name | Disqus Conditional JS Load |
Version | 0.0.4 |
Author | Jimmy Peña |
Rating | 100 |
Last updated | 2014-08-16 12:15:00 |
Downloads |
407
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
Disqus Conditional JS Load plugin added 4 bytes of resources to the Home page and 8 bytes of resources to the sample Post page.
Disqus Conditional JS Load plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! Disqus Conditional JS Load plugin ads no tables to your Wordpress blog database.Disqus is a third-party comment management system. However it loads its javascript code on every page indiscriminately. This code should only be loaded on pages where the comments form is actually going to load. Otherwise your site is wasting cycles including javascript that isn't going to be used.
This plugin stops the Disqus plugin from loading its javascript on pages or posts where comments are closed. If comments are closed and there are no existing comments already, the JavaScript will be stopped from loading. Note that to avoid breaking the existing functionality, the JavaScript will still load if comments are closed but there are already some comments on a page/post.
Based on http://thomasgriffinmedia.com/blog/2012/11/tame-disqus-comments-in-wordpress/
Disclaimer: This plugin is not affiliated with or endorsed by Disqus.
If this plugin breaks your site or just flat out does not work, please go to Compatibility and click "Broken" after verifying your WordPress version and the version of the plugin you are using.
Then, create a thread in the Support forum with a description of the issue. Make sure you are using the latest version of WordPress and the plugin before reporting issues, to be sure that the issue is with the current version and not with an older version where the issue may have already been fixed.
Please do not use the Reviews section to report issues or request new features.