in , , ,

How to make Disqus Comments Count on Blogger …

show disqus comments,comment count ,blogger,comments, show disqus comments on blogger,mashbyte.com,mashbyte,cobiegh

Many times people who use Disqus as their way of commenting on your sites or blogs, like Blogger , usually ask this questions , like… would it be possible for me to show comments counts on blogger like the normal blogger system? …. aside this , there are also a lot of other queries out there.. which i think putting this tutorial out there might help someone solve this nightmare…

So for us to start let’s follow this simple instructions to arrive at our solution….

HOW TO ACCESS THE FRAMEWORK?

  1. Go To Blogger.com 
  2.  Select Your Blog.
  3.  Select Theme >>  Always Remember to Backup first!!!
  4. Then click on the arrow near ‘Customize’ and click on Edit HTML
Now copy and paste this JS script just before or above the </body> tag in your html

<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = '<span style="background-color: yellow;">mashbyte</span>'; // required: replace example with your forum shortname
/* * * DON'T EDIT BELOW THIS LINE * * */
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = 'http://' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>

After adding that code, Now copy the one below and place it on anywhere you want the counter to appear… I suggest you place it before your  “Post info” tag or anywhere near, post title…

<a expr:href="data:post.url + """></a>
<a expr:href='data:post.url'>#disqus_thread"><b>0 Comments</b></a>

Once everything is done, Save the template.. and view a post to see the view counter

I hope you find this useful, but if in any case you find it difficult to apply it to your site, then leave a comment below for help and a quick reply, or use our Contact page for a personal assistant.

Note: You have the right to share this with anyone of your choice or on your blog….but Don’t forget to link back to MashByte.com…. Read our ToC  or our DMCA here to understand how our Terms very well.

Remember to Subscribe and  share……. 

What do you think?

Written by Kwabena

Kwabena is a tech freak, passionate about every new gadget and technology that comes his way. Always searching, always curios, he managed to gather an astounding experience that is very useful in his Info-Tech career.....
You can reach him by using any of his Social Media Handles below

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

GIPHY App Key not set. Please check settings

Make Comments on your blog Appear on a static Page

YouTube Direct Subscription Link