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.
Hi @superbwebdeveloper thanks for helping here. I hope you will be able to help me as well. I think everything is set up and working on comment pages. I also set up comment count correctly but counts are not showing up. would you please help out with what I am missing here?
Here is my read only link!!
Live site: https://www.realestate.vote/
Anyone who can help me out? I would really appreciate it.
You need to share your published site link also because you are using custom code.
Please check and use api key.
Thank for reminding me, totally forgot.