Disqus Comments
$0+
$0+
https://schema.org/InStock
usd
Thangjam Kishorchand Singh
The live site and see how the plugins work-
- Live version: Remove unused CSS in WordPress
- How the plugin works: Lazy-Loading Disqus Comments
Features:
- Add missing height when JS is unable to load.
-
Disqus shortname: A shortname is the unique identifier assigned to a Disqus site. All the comments posted to a site are referenced with the shortname. The shortname tells Disqus to load only your site's comments, as well as the settings specified in your Disqus admin.
Disqus Admin > Settings > General > Shortname -
Unlimited Elements for Elementor Widget
-
JavaScript related to Disqus is inline and it will load in the Footer tag if you enabled JS Always in Footer in Unlimited Elements with Elementor General Settings. Not necessary to load in the <footer> tag but good Performance practice
Requirements:
- Elementor.
- Unlimited Elements with Elementor (add-ons).
- Add this PHP using Code Snippet Plugin or edit theme function.php to deregister comment.js (this will disable WordPress comments) or you can use the Asset CleanUp or Perfmatters plugin.
// Remove comment-reply.min.js from footer
function disable_comment_reply(){
wp_deregister_script( 'comment-reply' );
}
add_action('init','disable_comment_reply');
or Admin > Asset Clean up Settings > Site-Wide Unload For Common CSS & JS Files > Disable Comment Reply Site-Wide
FAQ:
- Troubleshooting: if the Disqus Comment is not loading properly, just make sure you scroll up to the top of the page and then scroll down, this way the comment will start loading.
- Caution: If you delay JS on Execution or combine your JS, make sure you exclude the Disqus comment JS (you need to test it).
5 downloads
Size
2.87 KB
Add to wishlist