Thursday, April 17, 2008

How to add Recent Posts

You wanted to show to your readers your latest posts but you can't because your blog host doesn't the option to do that, Blogger unlike wordpress unfortunately doesn’t a widget to display your recent posts. Blogger doesn’t do things for you that easily but thanks to this post displaying recent posts in your Blogger blog is just as easy.

here are the easy steps to do that.

step 1. Go to Layout --> Page Elements

step 2. Add a Page Element

step 3.
Select HTML/JavaScript

step 4. Copy and paste the code below (replace "your blog url" with the url of your blog)




<script src="http://h1.ripway.com/slavezero23/blogger-widget.js">
</script> <script>var numposts = 10;
var showpostdate = true;
var showpostsummary = false;
var numchars = 100;
</script>
<script src="your blog
url/feeds/posts/default?orderby=published
&alt=json-in-script&callback=rp"></script>



step 5. Save and enjoy your recent post widget ^_^

0 comments: