Date: - Time:

For Questions and Quick contact
Call us - FB: Oscar Lee

3.17.2016

Recent comments Widget for Your Blog

 how-to-make-$25-on-payoneer


Blogger Widgets

The recent comments widget is a very popular widget for sure, it shows your recent comments to your blog readers, making them eager to see the comments and to also drop theirs. The code below would be put in the HTML/Javascript gadget in your blogger layout.

<script style=text/javascript src="http://helplogger.googlecode.com/svn/trunk/recent comments widget.js"></script>
<script style=text/javascript>
    var a_rc = 5;
    var m_rc = false;
    var n_rc = true;
    var o_rc = 100;
</script>
<script src=http://yourdomain.com/feeds/comments/default?alt=json-in-script&callback=showrecentcomments></script><div style="font-size: 10px; float: right;">Get this <a href="http://www.oscarleeblog.com" rel="nofollow" >Recent Comments Widget</a></div>
<style type="text/css">
.rcw-comments a {
    text-transform: capitalize;
}

.rcw-comments {
    border-bottom: 1px dotted;
    padding-top: 7px!important;
    padding-bottom: 7px!important;
}
</style> 

 NOTE: To check the number of recent comments to display, replace 5 in a_rc highlighted in red in the code above to any number of your choice.

 Replace the url http://yourdomain.com highlighted in blue to your blog URL.The above code would be added through the blogger dashboard >>> Layout >>> Add a gadget >>> HTML/javascript.

To add the date of the comment,change the "false" text from m_rc=false to "true";
To hide the post titles, change the "true" text from n_rc=true to "false";
To show more or less comment characters, change the "100" value from o_rc=100


 Drop your views, questions and comments below.

 

No comments:

Post a Comment

We love to hear from you!

RECENT COMMENTS

Featured post

JAMB 2017 Results are online now - check yours here

JAMB - the Joint Admission matriculation board , has started the release of the 2017 UTME RESULTS online for the examinations that start...