內容簡介
Disqus 是一個第三方留言管理系統。然而它會在每一個頁面上無差別地載入它的 JavaScript 代碼。這個代碼應該只在實際載入留言表單的頁面上載入。否則,您的網站會浪費週期,包括未使用的 JavaScript 代碼。
這個外掛會阻止在關閉留言的頁面或文章上載入 Disqus 外掛 的 JavaScript。如果留言被關閉並且該頁面或文章上沒有現有的留言,則 JavaScript 將不會載入。請注意,為了避免破壞現有的功能,如果留言被關閉但是該頁面或文章上已經有一些留言,則 JavaScript 仍將載入。
根據 http://thomasgriffinmedia.com/blog/2012/11/tame-disqus-comments-in-wordpress/
聲明:此外掛與 Disqus 無關聯也未得到其支持。
如果您需要此外掛的幫助
如果此外掛破壞了您的網站或根本無法運作,請至Compatibility ,驗證您的 WordPress 版本和您使用的外掛版本後點擊「Broken」。
然後,在Support論壇中建立一個包含問題描述的討論串。在回報問題前,請確保您正在使用最新版本的 WordPress 和外掛,以確定問題是否存在於當前版本而不是以前已經修復的舊版本。
請勿使用評論部分回報問題或要求新功能。
外掛標籤
開發者團隊
原文外掛簡介
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.
