August 17, 2010

How to Create Recent Posts Widget for Blogger

Recent Posts widget
Adding recent posts widget in your blogger blog will allow your visitors to quickly find your latest posts, and it's fairly easy to install.


Creating Recent Posts Widget:

1. Log in to your Blogger account
2. Navigate to Layout > Page Elements > Add a Gadget
3. Click on HTML/Javascript

copy and paste this code:



<script style="text/javascript" src="http://sites.google.com/site/jayceoyesta/jayce-o-design-studio/recent.posts.js"></script>
<script style="text/javascript">
var numposts = 5;
var showpostdate = false;
var showpostsummary = false;
var numchars = 100;
var standardstyling = true;
</script>
<script src="http://jayce-o.blogspot.com/feeds/posts/default?orderby=published&alt=json-in-script&callback=showrecentposts"></script>

4. Replace http://jayce-o.blogspot.com with your own Blog address.
var numposts = 5 is the number of total posts to display, You can customize this value according to your needs
5. Save your widget and you are done. (as easy as that)

Good luck!

Share This Post

Stay Update

Fresh inspiration delivered right to your inbox

2 Comments

avatar
http://ptetech.blogspot.com

Dear yesta desamba

how can i do this only on post pages? I hope you can help.

Reply

thanks for this wonderful post... love it :) just applied it to my blog

Reply