Disqus Recent Comments Widget For Blogger

Ajki post mein mai apko dikhane wala hoon ki kaise ap apne blogger blog mein Disqus recent comments widget add karenge jo bohot hi fast loading widget hai. Agar apke blog mein jyada comment milta hai to ap jarur ise apne blog mein add karke dekhe.

blogger-blog-mein-kaise-disqus-recent-comments-widget-add-kare-hindi-mein

Ye widget apki blog mein ek accha impression jamaega. Ye widget JavaScript se acchi tarah se scripted hai aur ye Disqus mein host bhi kia hua hai to isliye iski loading speed bohot hi accha hai aur asani se ye load ho jata hai. To chaliye dekh lete hai kaise disqus recent comment widget ko blog pe add karte hai...

Blogger Blog Mein Kaise Disqus Recent Comments Widget Add Kare?


Simply, niche diye gaye steps ko follow kare.

Step 1. Pahle apna Blogger account mein login karke Dashboard > Layout > Add a Gadget > HTML/JavaScript pe click kare.

Step 2. Uske baad niche diye gaye codes ko copy karke 'Content' field mein paste kare.

<div id="RecentComments" class="dsq-widget">
<script type="text/javascript" src="http://helperbus.disqus.com/recent_comments_widget.js?num_items=5&hide_mods=0&hide_avatars=0&avatar_size=32&excerpt_length=50"></script>
</div>

Step 3. Abh 'Save' button mein click kare aur ye add ho gaya.

Customizations


Upar ki code mein helperbus.disqus.com ko apna domain name se replace kare. (E.g. yourdomain.disqus.com)

Configuration


Is code mein ap kuch parameters dekh sakte hai jo is widget ko configure karne ke liye use kia jata hai. Niche mai iski description de raha hoon-
  • num_items - Widget mein dikhaya gaya comment ki sankhya.
  • hide_mods - Admin ki comment hide karne ke liye. (Hide=1, Disable=0)
  • hide_avatars - Avatars ko hide karne ke liye. (Hide=1, Show=0)
  • avatar_size - Avatar ki size (Pixel mein)
  • excerpt_length - excerpt ki character length.

Styles


Agar ap chahe to is widget ko decorate karne ke liye niche diye gaye codes ko use kar sakte hai. Stylish karne ke liye apko in codes ko apni blogger template mein jorna hoga.

.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;}

Thats it. Abh apki Blogger blog mein Disqus recent comments widget jur chuka hai. Thank You.

SHARE THIS

Author:

I'm an 18 years aged Passionate Blogger from West Bengal, India. I just love to write articles and share them with people. The day was 28th September 2015, when my dream of having a website comes true and I made this website to help you and peoples like you!

Previous Post
Next Post
7/08/2016 12:18 am

Hey Amit, Thanks for your comment. But next time don't leave this type of links. Its called spamm.

Reply
avatar