Plugin info

Total downloads: 2,350
Active installs: 10
Total reviews: 2
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 8/16/2014 (4155 days ago)
Added to WordPress: 4/19/2014 (11 years old)
Minimum WordPress version: 3.5
Tested up to WordPress version: 3.9.40
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 4155 days ago • 2 reviews

22/100

Is Disqus Conditional JS Load abandoned?

Possibly abandoned (last update 4155 days ago).

Compatibility

Requires WordPress: 3.5
Tested up to: 3.9.40
Requires PHP: f

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Disqus Comment System
Rating 2.7/5 (218 reviews)Active installs 40,000
Disqus Conditional Load
Rating 4.5/5 (64 reviews)Active installs 4,000
pipDisqus – Lightweight Disqus Comments
Rating 4.5/5 (6 reviews)Active installs 300
Disqus Recent Comments Widget
Rating 4.3/5 (7 reviews)Active installs 200
Disqus Latest Comments Addon
Rating 4.0/5 (6 reviews)Active installs 100
Disqus Notify Post/Page Author
Rating 4.3/5 (3 reviews)Active installs 90

Description

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 you need help with this plugin

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.

Installation

  1. Upload plugin file through the WordPress interface.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Load a page/post where comments are open and view the HTML source — the JavaScript for Disqus should be present. Then load a page/post where comments are closed — it should not.

Frequently Asked Questions

How do I use the plugin?

Simply install and activate the plugin. It starts working immediately with no configuration required. Pages and posts with comments disabled (and no existing comments) will not load the Disqus JavaScript.

I still see Disqus loading on pages/posts where comments are closed.

Are you caching the page or post in question?

Does the page or post already have comments on it?

Are you using a plugin (such as a caching or optimization plugin) that minifies or combines JavaScript?

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

0.0.4

  • updated .pot file and readme

0.0.3

  • minor code optimizations

0.0.2

  • fix for wp_kses

0.0.1

  • created
  • verified compatibility with WP 3.9