Add Recent Post widget in Blogger

by Nandupatel on January 4, 2009

Want to add recent post widget in blogger. Here is trick to do it.

1. Login to blogger then go to “Layout”
2. Go to Page element then Add gadget
3. Add HTML/JavaScript.
4. Then copy this code and Paste it in Gadget.

<script src=”http://www.thetricks.net/blogger/recent-post.js”></script>
<script>var numposts = 8; var showpostdate = false; var showpostsummary = false; var numchars = 100; </script>
<script src=”http://YOURBLOGNAME.blogspot.com/feeds/posts/default?orderby=published&amp;alt=json-in-script&amp;callback=rp”>
</script>

5. Click Save.

- Change YOURBLOGNAME with your blogname.
- The number “8” it as amount of recent post that will be shown, You can change it.

Leave a Comment

Previous post:

Next post: