Another Recent Posts Widget for Blogger. Unlike the first Recent Posts widget, this new widget for Blogger lets you display more than 5 recent posts on your blog. It will show not only post titles but also post excerpts.
What you can do with this widget:
- you change the number of posts
- you can change the number of characters of the post summary (excerpt), or
- you can display post titles only
- show the post dates
See Installation and Other Options below.
Screenshot: Option A and Option B

Get Code
Option A
(With post excerpts)
Option B
(Displays post titles only)
Installation
1. Go to your Blogger Dashboard > your blog’s Layout > Page Element > Add a Gadget > HTML/JavaScript
2. Copy and paste the code into the new HTML/JavaScript.
3. In the code, look for the line…
…src=”http://YourOwnB1og.blogspot.com/feeds/posts/default….
…and replace the blog address (shown in color blue below) with your own blog address
…src=”http://YourOwnB1og.blogspot.com/feeds/posts/default.…
(For self-hosted blogs)…
…src=”http://www.YourOwnB1og.com/feeds/posts/default….
4. Add a title. Save.
Other Options
How to change the Number of Posts
To change the number of posts, just look for the number 5 (for Option A) in the code and replace it with the number of posts you want to be displayed. (For Option B, look for the number 10).
Recommend setting for Option A: 5 to 8.
Recommend setting for Option B: 5 to 15.
… var numposts = 5;var…
How to change the Number of Characters (Excerpt)
This widget is set to display an excerpt of 100 characters of each post. If you want to change that number, just look for the number 100 in the code and replace it with the number of characters you want to be displayed.
Recommended setting: 50 to 100.
… numchars = 100;var…
How to Show Post Date
If you want to show the post date, look for the line with the word showpostdate in the code. Then change its value from false to true (shown in color blue below).
… showpostdate = false;var…
That’s it! Please let me know what you think of this widget by leaving a comment below.
Happy Blogging! =)







I have it installed and changed the feed address but it doesn’t seem to work. Any ideas??
@Angelique Lee
Oops! There was an error in the code and I forgot to update it.
You may copy the code now.
thanks a lot!
but is it possible to show all posts?
Hmmm? I’m not sure.
But you can try this: set the number of posts to 100000.
hi!
your widget worked great! thank you so much for this…
hi, this worked for my blog. Thanks. It didn’t work initially as the code had some extra stuff at the end relating to madtomato everytime I copied it. I deleted it and it was fine after that. I also didn’t know that I had to turn on the site feed, so my fault.
great widget
thx
wow… cool widget. been trying to find away to edit number of posts that can be shown. You solve it all. Thks a lot
I just recently added the “recent posts” widget and the “recent comments” widget. Both are up, but the “recent posts” widget leaves a big gap after the title and the first post while the “recent comments” does not. Is there anyway to fix this?
HI.. can u check my blog..? it doesn’t appear!
Try installing the code again.
Hi MadTom..I like it..! Thank you so much!!
can you add ‘marquee’ to it so it will look like it is sliding and could the code include the photos of the post ?