Recent Comments Widget for TypoXP Blogger  


This feature will give you a Recent Comments widget for your TypoXP Blogger sidebar.

Goto the Template>Page Elements page, add a HTML/JavaScript page element.

Customize this code,

<ul>
<script style="text/javascript" src="http://duniaanda.googlepages.com/typoxp-recentcomments2.js">
</script>
<script style="text/javascript">
var numcomments = 5;
var showcommentdate = false;
var showposttitle = true;
var numchars = 100;
var standardstyling = true;
</script>
<script src="http://typoxp.blogspot.com/feeds/comments/default?alt=json-in-script&callback=showrecentcomments">
</script>
</ul>


Replace 'typoxp' with the name of your own blog.
Set the number of recent comments you want to show (default = 5).
If you want the comment date to be displayed, give
true for showcommentdate (default = false).
If you want the post title to be displayed,
give true for showposttitle (default = true).
Enter the number of characters of the comment summary that you want to display (default =
100).

Copy the code, save the widget and try out it.

If you want to customize icon for widget title, click here.

Thanks to BeautifulBeta. For more explanation, please read information here.

2 comments: to “ Recent Comments Widget for TypoXP Blogger