Loading Disqus Comments on Demand: 2 Ways

March 24th in Plugin Lists by .

Disqus is a wonderful comment management system used on top websites. It could cause some slowness, especially if you get lots of comments regularly. Here are 2 ways to conditionally load Disqus comments:

disqus-conditional-load

Disqus Conditional Load: lazy loads Disqus comments to improve your site’s performance. Your visitors can see the comments by clicking on a button or scrolling.

disqus-conditional

Load Disqus on Demand: you can find a bunch of useful code snippets on GitHub that show you how to load Disqus comments conditionally. Seth Warburton’s solution is one way to approach this problem.

Have you found better ways to load Disqus comments conditionally? Please share them here.

You may also be interested in:
*some of our articles and lists might include aff links to fund our operations. Please read our disclaimer on how we fund Exxponent.

Follow WP Solver on Pinterest

Previous post:

Next post: