Recent Posts Widget for TypoXP Blogger  


This feature will give you a Recent Posts 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-recentposts.js">
</script>
<script style="text/javascript">
var numposts = 5;
var showpostdate = true;
var showpostsummary = true;
var numchars = 100;
var standardstyling = true;
</script>
<script src="http://typoxp.blogspot.com/feeds/posts/default?orderby=published&alt=json-in-script&callback=showrecentposts">
</script>
</ul>


Replace 'typoxp' with the name of your own blog.
Set the number of recent posts you want to show (default = 5).
If you want the post date to be displayed, give
true for showpostdate (default = true).
If you want a post summary to be displayed,
give true for showpostsummary (default = true), and enter the number of characters of the postsummary 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.

3 comments: to “ Recent Posts Widget for TypoXP Blogger