Setup instructions for
Get Disqus for your site- Place the following code where you'd like Disqus to load:
- (Recommended) Edit the
RECOMMENDED CONFIGURATION VARIABLES
section using your CMS or platform's dynamic values. See our documentation to learn why definingidentifier
andurl
is important for preventing duplicate threads.
How to display comment count
- Place the following code before your site's closing
</body>
tag:
- Append
#disqus_thread
to thehref
attribute in your links. This will tell Disqus which links to look up and return the comment count. For example:<a href="http://example.com/bar.html#disqus_thread">Link</a>
.
Additional customization
See our Adding comment count links to your home page documentation.