Hi! I’m trying to add comment count with Disqus but I’m not able to get it to work. All threads I’ve found on the forum hasn’t got any answers. Anyone got comment count to work and could help me?
Has anyone got Disqus comment count to work on their site? I got it to work on my blog posts, but only for the first post in the CMS list.
- Add script before closing body tag
<script id="dsq-count-scr" src="//SHORTNAME.disqus.com/count.js" async></script>
- Add the link where-ever in the page you want and Change SHORTNAME
<a href="URL OF THE PAGE#disqus_thread"># COMMENTS</a>
COMMENTS will change automatically to number of comments.
You can use it on product detail page as well as in product list page.
@superbwebdeveloper what does the script need to be added before?
Yes, past script before closing the body tag.
Actually discussion editor not let be add the syntax of closing body tag, sorry for that…
It displays the number of comments for pages with Disqus embedded.