Loading Disqus Comments on Demand: 2 Ways


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: lazy loads Disqus comments to improve your site’s performance. Your visitors can see the comments by clicking on a button or scrolling.

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.

More WordPress reading: