Skip to main content

How To Install DISQUS Manually in Blogger



If you're not a great fan of the default Blogger Comments system then DISQUS is a must for you. DISQUS is the best Comment system available for Websites and Blogs. DISQUS is completely SEO friendly and the comments are easily crawled and indexed by Google bots.
DISQUS provides default installation process for various platforms including Blogger, Wordpress, Tumblr, Javascript (for Websites ). But the failure to add the DISQUS widget to Blogger has become a common problem in recent times. So instead of being dissappointed what we can do is Install it manually with this very simple tutorial. Let's get started -

                             


1. Login to Blogger.

2. Go to Layout > Add a Gadget.

3. Select HTML/JavaScript Gadget.

4. Now Login to Disqus (You need to have a registered account in Disqus)

5. Go to Setting > Install
.

                             


6. Choose Blogger as the platform.
                     
                           


7. Click on Add to my Blogger Site.
8. You'll be then redirected to the Blogger Add widget page where you'll find two find two sections -
Edit Content and Edit Template

9. Copy the content from Edit Content and paste it in the HTML/Javascript gadget and Save it. Keep the Title of the gadget as DISQUS (or any other name as you wish).

                     




10. Go to Template (Back up your Template) > Edit HTML > Expand Widget Template
11. Search (CTRL+F) for "DISQUS" (or the Title of the gadget in Step 9). You'll find a code similar to this -

       

<b:widget id='HTML5' locked='false' title='Disqus' type='HTML'>
<b:includable id='main'>
<!-- only display title if it's non-empty -->
<b:if cond='data:title != &quot;&quot;'>
<h2 class='title'><data:title/></h2>
</b:if>
<div class='widget-content'>
<data:content/>
</div>
<b:include name='quickedit'/>
</b:includable>
</b:widget>

12. Now delete the section of code  between " <b:widget id='HTML5' locked='false' title='Disqus' type='HTML'>" and "</b:widget>"

13. Now copy the code content form the Disqus Edit Template section -

                     
 

14. Paste the copied code between the tags mentioned in Step 12). Your code will now look similar to this (do not copy this code, code is specific for each website)-

<b:widget id='HTML4' locked='false' title='DISQUS' type='HTML'>
<b:includable id='main'>
            <script type='text/javascript'>
                var disqus_shortname = &#39;infy-lounge&#39;;
                var disqus_blogger_current_url = &quot;<data:blog.canonicalUrl/>&quot;;
                if (!disqus_blogger_current_url.length) {
                    disqus_blogger_current_url = &quot;<data:blog.url/>&quot;;
                }
                var disqus_blogger_homepage_url = &quot;<data:blog.homepageUrl/>&quot;;
                var disqus_blogger_canonical_homepage_url = &quot;<data:blog.canonicalHomepageUrl/>&quot;;
            </script>
            <b:if cond='data:blog.pageType == &quot;item&quot;'>
                <style type='text/css'>
                    #comments {display:none;}
                </style>
                <script type='text/javascript'>
                    (function() {
                        var bloggerjs = document.createElement(&#39;script&#39;);
                        bloggerjs.type = &#39;text/javascript&#39;;
                        bloggerjs.async = true;
                        bloggerjs.src = &#39;http://&#39;+disqus_shortname+&#39;.disqus.com/blogger_item.js&#39;;
                        (document.getElementsByTagName(&#39;head&#39;)[0] || document.getElementsByTagName(&#39;body&#39;)[0]).appendChild(bloggerjs);
                    })();
                </script>
            </b:if>
                <style type='text/css'>
                    .post-comment-link { visibility: hidden; }
                </style>
                <script type='text/javascript'>
                (function() {
                    var bloggerjs = document.createElement(&#39;script&#39;);
                    bloggerjs.type = &#39;text/javascript&#39;;
                    bloggerjs.async = true;
                    bloggerjs.src = &#39;http://&#39;+disqus_shortname+&#39;.disqus.com/blogger_index.js&#39;;
                    (document.getElementsByTagName(&#39;head&#39;)[0] || document.getElementsByTagName(&#39;body&#39;)[0]).appendChild(bloggerjs);
                })();
                </script>
        </b:includable>
</b:widget>

15. Save Your Template and you're done !

So that's it for now. Try out your new DISQUS commenting system. And do comment if you find any trouble implementing this. I'm here to help :)

Comments

  1. Well explained article about how to install Disqus manually in Blogger. You can also find interesting article about study abroad here:
    https://admitkard.com/blog/2017/12/22/top-10-affordable-colleges-in-australia/

    ReplyDelete
  2. Divergent Insights is working with renowned industry experts providing competitive research services and thought leaders from leading consulting companies, providing niche-based intelligence services to help them solve pieces of a larger problem.

    ReplyDelete

Post a Comment

Popular posts from this blog

Best Fuel Discount Trick 2026: Get 10% Cashback at HP Pumps (Jupiter Card, Amazon Pay & FASTag Hack)

Best Fuel Discount Trick 2026: Get 10% Cashback at HP Pumps (Jupiter Card, Amazon Pay & FASTag Hack) Are you tired of rising fuel prices? While most dedicated fuel credit cards in India offer a maximum of 4% to 8.5% value back, there is a secret "stacking" strategy that lets you hit a massive 10% return on every liter of petrol or diesel. By leveraging the Jupiter EDGE+ Credit Card and the HP Pay App , you can bypass standard fuel rewards and unlock pro-level savings. Here is the exact step-by-step tutorial. The Strategy: Why This Beats Traditional Fuel Cards Most users think a fuel-branded card is the best way to save. However, even top-tier cards have limits: Note: Popular dedicated fuel cards like the RBL IndianOil XTRA (approx. 8.5%) or IDFC FIRST HPCL Power+ (approx. 6.5%) are excellent, but they are often capped or restricted. This Jupiter trick provides a flat 10% return , making it the highest-value fuel hack currently available in 2026. St...

Maximize Flight Savings - The Triple-Dip Flight Hack: Promo Codes + Gift Cards + Cashback Cards

  The Triple-Dip Flight Hack: Promo Codes + Gift Cards + Cashback Cards = Massive Savings Welcome back to The Paradox Blogger's guide to traveling smarter, not harder. In the world of travel hacking, "Double Dipping" used to be the secret weapon of savvy flyers. But what if you could take it a step further? Most travelers think they have to choose between a promo code and a discounted payment method . By following a specific sequence, you can stack a promo code, a discounted gift card, AND a cashback credit card to pull off the ultimate Triple Dip . The Golden Rule: To make this work, your initial promo code must be "Generic." If the code requires a specific bank card (like "MMTDFC"), the system will block your gift card later. Always look for codes labeled "Applicable on All Payment Modes." 1. The 3 Platforms Where the Triple-Dip Actually Works EaseMyTrip (EMT): The Convenience Fee King EaseMyTri...

THE FLIGHT DAY

  It was that momentous day and I was ready for it. I found myself in front of the mirror, keenly analysing my own reflection. No I was not a narcissist. I was more intent on determining how much I had changed. Have I really changed? Have I not been the person I was supposed to be? Before I could answer my own questions, I heard the message tone of my phone. It was she and her message said - "Please try to be on time at least tonight. Else let me know, I will help myself with a cab." I replied back - "That won't be necessary. The cab is here already. Starting now. Be ready." I lifted my luggage and rushed to the cab outside.   Shall we directly go to the airport Sir? asked the driver. "No we have to pick someone on the way and then take us to airport." The driver nodded and the cab was on its way. "Someone"- I just referred to her as "someone". Is that what she will be for me after tonight? Is this truly ...