- Place the following code where you'd like Disqus to load:
- (Recommended) Edit the
RECOMMENDED CONFIGURATION VARIABLESsection using your CMS or platform's dynamic values. See our documentation to learn why defining
urlis important for preventing duplicate threads.
How to display comment count
- Place the following code before your site's closing
hrefattribute in your links. This will tell Disqus which links to look up and return the comment count. For example:
See our Tightening your Disqus integration documentation.