Disqus works in normal Blogger template but won’t work in Dynamic Views because it don’t support HTML/Javascript widget. But you can edit the contents in head tag of Template and I found a way to integrate the Disqus commenting system in to Blogger. I’m gonna show you how to do that.
Works On
- Sidebar
- Classic
- Flipcard
- Magazine
- Mosaic
- Snapshot
- Timeslide
Disadvantages
On Classic Templates Disqus will only be available for the first post, because they won’t allow you to put more than 1 Disqus Comment box on a page
Dependencies
- Sharing buttons below posts should be Enabled
- Google + Comments should be hidden
- Blogger Default Comments should be hidden
Current Version
Updated on 2017 July 29.
First of all go to Blogger -> Settings -> **Posts and Comments **and change the **Comment Location **option to Hide. If you enabled Google + Comments, Please disable that too.
You have two options :
- Include the code below in “Text/JavaScript” widget of Blogger
- Include the code below in your Blogger Template
Go to Blogger -> Template -> Edit HTML and Paste the following code before :
<script type='text/javascript'>
/**
* Disqus in Blogger Dynamic views integrated by Subin Siby [http://goo.gl/jPb8TR]
*/
window.disqus_shortname = '<span style="color: #ffffff; background-color: #bf9000;">example</span>'; // required: replace example with your forum shortname
var d = document, o = d.createElement("script"); o.type = "text/javascript", o.async = true, o.src = "https://lab.subinsb.com/projects/Francium/dibd/load.min.js";
d.getElementsByTagName('head')[0].appendChild(o);
</script>
Replace the wheat color background text in the above code with your Disqus shortname. Example: subinsdemos from subinsdemos.disqus.com.
It’s that simple. Your blog posts will now have a Disqus comment box. Enjoy !!
UPDATE : The Sidebar first post problem has been fixed in version “2015-07-14”.
UPDATE : An Improved version was released in ”2015-09-24”.
UPDATE : “2016-02-05” Fixed bugs. Thanks Spikeren.
UPDATE : “2017-07-29” Changed URL to HTTPS. Thanks Transmission Radio.
If you have any problems/suggestions/feedback just comment in Disqus below.