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 recent posts as list (post titles only)
- show the post dates
See Installation and Other Options below.

Get Code
Option A
(With post excerpts)
Option B
(Displayed as list)
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 ?
Thanks for this widget. Works well except for the styling. I hope I can do away with the extra space in between the post titles. Also I’d like it better if it follows the format of my unordered list.
http://hunnynicquee.blogspot.com/
thanks again!
your widget works great!! thx ;D
Thanks, Tom! Works perfectly! I was looking for something just like this, and the widgets Blogger listed just weren’t cutting it–thanks again for the tip!
hi, thank you very much, works great!!
Hey there, great script. Do you know how I can add a picture to each of the feeds?
Every entry that I do starts with a picture, I just want them to appear there.
Hi.
Is the any way for me to make it 100 post?
I wanna make something like site map on a page of my blog.
You can try the instruction above — Other Options (How to change the Number of Posts).
Just replace the number of posts to be displayed with the desired number.
Hi! Thanks, it works great! However is there way to order the posts by alphabetical?
No. But I’ll try to look into that..