Previously,we disscussed about adding the Disqus comment system to a blogger blog the automated way.Now i will take you through the process of installing the same Disqus on a blogger blog manually.
If the automated instalation
is not working for you for technical reasons,then installing the gadget
on your blog manually is the best and surest option.To do this,you have
to edit you blog HTML code. Always back up your blogger template before
attempting to edit your template HTML
Here is how it is done
==> Navigate to
your blogger layout section, click add a gadget on the side bar.
==> In the add a gadget section, click to add HTML/JAVASCRIPT.
==> Enter <!-- Disqus comments gadget --> as the gadget content and save your gadget.
To Add the Disqus code to your template
==> To add the disqus code to your blogger template, navigate to your template editor, click on edit HTML.
==> Click Expand Widget Templates box.
==> From your template editor search for Disqus using the control F function.A search for Disqus should give you something similar to <b:widget id='HTML1' locked='false' title='Disqus' type='HTML'>.
==> To ensure the disqus load on mobile,add mobile='yes' to the code above,so the final code looks like this
<b:widget id='HTML1' locked='false' mobile='yes' title='Disqus' type='HTML'>
==> Below the above code locate and delete the following line of code
<b:includable id='main'> <!-- only display title if it's non-empty --> <b:if cond='data:title != ""'> <h2 class='title'><data:title/></h2> </b:if> <div class='widget-content'> <data:content/> </div> <b:include name='quickedit'/></b:includable>
==> Just before the closing tag
</b:widget>,add the following code. Do remember to change the word EXAMPLE as highlighted in the code below to your disqus short name.<b:includable id='main'> <script type='text/javascript'> var disqus_shortname = 'EXAMPLE'; var disqus_blogger_current_url = "<data:blog.canonicalUrl/>"; if (!disqus_blogger_current_url.length) { disqus_blogger_current_url = "<data:blog.url/>"; } var disqus_blogger_homepage_url = "<data:blog.homepageUrl/>"; var disqus_blogger_canonical_homepage_url = "<data:blog.canonicalHomepageUrl/>"; </script> <b:if cond='data:blog.pageType == "item"'> <style type='text/css'> #comments {display:none;} </style> <script type='text/javascript'> (function() { var bloggerjs = document.createElement('script'); bloggerjs.type = 'text/javascript'; bloggerjs.async = true; bloggerjs.src = 'http://'+disqus_shortname+'.disqus.com/blogger_item.js'; (document.getElementsByTagName('head')[0]
||
document.getElementsByTagName('body')[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('script'); bloggerjs.type = 'text/javascript'; bloggerjs.async = true; bloggerjs.src = 'http://'+disqus_shortname+'.disqus.com/blogger_index.js'; (document.getElementsByTagName('head')[0]
||
document.getElementsByTagName('body')[0]).appendChild(bloggerjs); })(); </script></b:includable>
Click to
preview your template,assuming there are no errors,Save your template ,view
your blog to see the changes made
Do you have any question,problem or observation?Lets us know using the comment session below
Do you have any question,problem or observation?Lets us know using the comment session below



Hey there, I think your website might be having browser
ReplyDeletecompatibility issues. When I look at your website in Firefox, it
looks fine but when opening in Internet Explorer, it
has some overlapping. I just wanted to give you a quick heads up!
Other then that, fantastic blog!
My web page ; on line usa casino
I am genuinely thankful to the owner of this website who has shared this enormous article at here.
ReplyDeleteAlso visit my weblog ... Casino usa online
Good day I am so grateful I found your webpage, I
ReplyDeletereally found you by error, while I was looking on Bing for something else, Regardless
I am here now and would just like to say thanks for a fantastic post
and a all round entertaining blog (I also love the theme/design), I don’t
have time to look over it all at the minute but I have book-marked it and also added your RSS
feeds, so when I have time I will be back to read a great deal more, Please do keep up the awesome b.
Also see my web site > play Slots For Money
Hey just wanted to give you a quick heads up and let you know a few of the images
ReplyDeletearen't loading properly. I'm not sure why but I think its a linking issue.
I've tried it in two different web browsers and both show the same outcome.
My weblog - usa online casino