Setup instructions for
Get Disqus for your site- 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 definingidentifierandurlis important for preventing duplicate threads.
How to display comment count
- Place the following code before your site's closing
</body>tag:
- Append
#disqus_threadto thehrefattribute 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.
Universal Code
WordPress
Blogger
Tumblr
Squarespace
TypePad
MovableType
Drupal
Joomla