--> Add Disqus Recent Comments Widget to Blogger | Experience Lab - Online business creation and development guide for bloggers and startups

Add Disqus Recent Comments Widget to Blogger

Today, we will learn a simple and useful tutorial on how to add an attractive and fast-loading Disqus Recent Comments widget on a Blogger b...



Disqus Recent Comments Widget

Today, we will learn a simple and useful tutorial on how to add an attractive and fast-loading Disqus Recent Comments widget on a Blogger blog. Widgets like these let readers know about the conversations going on at your blog, and if you're fairly active, it adds up to a good impression. This widget in question is well-scripted and the JavaScript is hosted at Disqus so as to reduce the load time on your blog. So lets learn how to add it to blogger.


Adding Disqus Recent Comments Widget to Blogger



You can add this widget code inside any text/html block inside your blog.


  • Go to Blogger >> Layout

  • Click on Add a Gadget

  • Choose the HTML/JavaScript widget



HTML/JavaScript Widget


  • Now add it anywhere you like on your blog



Now copy and paste the following code inside the HTML/JS widget.



<div id="RecentComments" class="dsq-widget">



<script type="text/javascript" src="http://smartearningmethods.disqus.com/recent_comments_widget.js?num_items=5&hide_mods=0&hide_avatars=0&avatar_size=32&excerpt_length=50"></script>



</div>



The code above contains a URL. You need to change the text in bold with your own domain name (yourdomain.disqus.com).


Configuration



After the ? in the URL, you can see a bunch of parameters. These are used to customize the functionality of the widget. Here is a brief description for each of them.


  • num_items - Number of comments to show in the widget

  • hide_mods - Hide moderators' comments (1 for hidden, 0 for disabled)

  • hide_avatars - Hide display images (1 for hidden, 0 for shown)

  • avatar_size - Avatar size in pixels (32 by default)

  • excerpt_length - Character-length of the excerpt (1000 by default)



Styles


If you want, you can customize the looks of this widget as well. Here are some sample CSS rules;


.dsq-widget ul.dsq-widget-list {

padding: 0;

margin: 0;

text-align: left;

}

img.dsq-widget-avatar {

width: 32px;

height: 32px;

border: 0px;

margin: 0px;

padding: 0px 3px 3px 0px;

float: left;

}

p.dsq-widget-meta {

clear: both;

font-size: 80%;

padding: 0;

margin: 0;

}

li.dsq-widget-item {

margin: 15px 0;

list-style-type: none;

clear: both;

}

span.dsq-widget-clout {

padding: 0 2px;

background-color: #ff7300;

color: #fff;

}

a.dsq-widget-user {font-weight: bold;}

a.dsq-widget-thread {font-weight: bold;}

table.dsq-widget-horiz td {padding-right: 15px;}

.dsq-widget-comment p {display: inline;}

Enjoy this high-quality and fast-loading widget from Disqus :)

COMMENTS

Name

Affiliate Marketing,12,Announcement,34,Bing,9,Bitcoin,38,blog,7,Blogger Resources,42,Blogger Templates,4,blogger tricks,156,Blogging ethics,70,Blogging tips,198,Bugs and Errors,34,Business,9,Copyright Violation,9,CSS and HTMLTricks,95,Designs,8,drop down menu,7,eBook,12,Email Marketing,7,Events,30,Facebook,30,Facebook tricks,49,Google,157,Google AdSense,42,Google Analytics,7,Google Plus,51,Google Plus Tricks,38,Guest Posts,112,home,2,How To,77,Internet,1,JSON Feeds,25,Kitchen Recipes,2,Label Based Sitemap Themes,1,Make Money Online,108,Marketing,16,MBT Blogger Templates,7,Menus,1,News,146,Pages,1,Posts,10,presentations,15,Responsive,10,Reviews,7,SEO,307,Settings,6,Shortcode,15,Sitemap Themes,1,Social Media,155,Technology,7,Templates,1,Tips,2,Tools,1,Traffic Tips,80,Video,19,Web Designing,62,web hosting,18,Webmaster Tools,97,Widgets,199,wordpress,26,
ltr
item
Experience Lab - Online business creation and development guide for bloggers and startups: Add Disqus Recent Comments Widget to Blogger
Add Disqus Recent Comments Widget to Blogger
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhH5rQF_f8rPm6fX1x4Qrk29kVnlGilml4mazxARma1COLLZJ2dA7LTs-pAOzXwsdKWm23cvhpy_ot0pZQzbmUj2OnSK9OKcflxIr3HG8lGY8_KxJHtPWYhyphenhyphen_KbDoQVj0TY16yYPA16r7Uj/s1600/disqus.jpg
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhH5rQF_f8rPm6fX1x4Qrk29kVnlGilml4mazxARma1COLLZJ2dA7LTs-pAOzXwsdKWm23cvhpy_ot0pZQzbmUj2OnSK9OKcflxIr3HG8lGY8_KxJHtPWYhyphenhyphen_KbDoQVj0TY16yYPA16r7Uj/s72-c/disqus.jpg
Experience Lab - Online business creation and development guide for bloggers and startups
https://www.experiencelab.info/2014/10/add-disqus-recent-comments-widget-to.html
https://www.experiencelab.info/
https://www.experiencelab.info/
https://www.experiencelab.info/2014/10/add-disqus-recent-comments-widget-to.html
true
2959477579779989044
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share. STEP 2: Click the link you shared to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy