HomeBlogger Tricks

Add Recent Comments Widget with Avatar for Blogger

Like Tweet Pin it Share Share Email

In Previous Post I was shared tutorial to create HTML Sitemapfor Blogger . but today I am going to share a tutorial on Add a Widget of Recent Comments with Avatar for Blogger/Blogspot blog. Blogger and BlogSpot both are same platform actually this is Famous by Name of Blogger . So, I think you know very well about the mean of Recent comment . Recent comment are those comment which was published on your blog post recently , and after some research developed made a Widget for Blogger with some special scripts .
So, Come to the Topic and Learn –

How to Add Recent Comments widgets with Avatar in Blogger Blog :


Step 1: First of all you need to Visit your Blogger Dashboard .

Step 2 : Now click on “Layouts

Step 3: Choose any side where you want to add this Gadget click on “Add a Gadget

Step 4 : here you will see a list scroll it and stop when you see just like shown in below image and click on “+” button.
                       


Step 5 : Now here you need to Paste below code inside 2ndEmpty Box.
<style type="text/css">
    ul.justnaira_recent_comments{list-style:none;margin:0;padding:0;}
    .justnaira_recent_comments li{background:none !important;margin:0 0 6px !important;padding:0 0 6px 0 !important;display:block;clear:both;overflow:hidden;list-style:none;}
    .justnaira_recent_comments li .avatarImage{padding:3px;background:#fefefe;-webkit-box-shadow:0 1px 1px #ccc;-moz-box-shadow:0 1px 1px #ccc;box-shadow:0 1px 1px #ccc;float:left;margin:0 6px 0 0;position:relative;overflow:hidden;}
    .avatarRound{-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px;}
    .justnaira_recent_comments li img{padding:0px;position:relative;overflow:hidden;display:block;}
    .justnaira_recent_comments li span{margin-top:4px;color: #666;display: block;font-size: 12px;font-style: italic;line-height: 1.4;}
</style>
<script type="text/javascript">
//<![CDATA[
    // Recent Comments Settings
    var
    numComments     = 5,
    showAvatar     = true,
    avatarSize     = 60,
    roundAvatar    = true,
    characters     = 40,
    showMorelink    = false,
    moreLinktext    = “More »”,
    defaultAvatar     = “http://www.gravatar.com/avatar/?d=mm”,
    hideCredits    = false;
//]]>
</script>
<script type=”text/javascript” src=”http://justnaira-css-js.googlecode.com/svn/justnaira-recent-comments-gravatar.js”></script>
<script type=”text/javascript” src=”http://www.OnlyLoudest.com/feeds/comments/default?alt=json&callback=justnaira_recent_comments&max-results=5“></script>
Note : Don’t forgot to Change your Blog Name Replace it : OnlyLoudest.com

When Some readers will find this attractive Gadget on your blogger home page then hope they will more active on your blog because it looks like very pretty . If you feel this post is helpful for you then don’t forgot to socialize it J