Adding more " Recents " to your blogger blog
In previous article i have told you how to add recent posts and recent comments to blogger blog , now i will tell you how to add more " recents " to your blogger blogs , if you visit my blog frequently , probably you have noticed the newbies on sidebar which are " Recent Templates " and "Recent Hacks " , i created these bars creating feeds for each category and with the help of Jackbook's recent comments and recent posts script we will be able to show more than 5 posts on our feeds. Follow the steps to do the same :
1.Go to your template
2.Add new widget
3.Chose HTML / javascript
4.Paste the codes below
<script src="http://files.lifewg.googlepages.com/blogger-widget.js"></script>
<script>var numposts = 10; var showpostdate = false; var showpostsummary = false; var numchars = 100; </script>
<h2>RECENT Templates</h2>
<script src="http://beta.blogger.com/feeds/YOUR-BLOG-ID/posts/full/-/LABEL-NAME?orderby=published&alt=json-in-script&callback=rp"></script>
How to adapt your blogger variables to codes :
1.For blog id click here after finding your blog id change it with YOUR-BLOG-ID on code
2.For label name , click the label you want to show the posts under that label and copy the line shown in bold from your browser
http://www.gosublogger.com/search/label/Blogger%20Templates
now paste it to LABEL-NAME on code
3.To change the numbers of posts which will be shown change the number on the line shown in bold
var numposts = 10;
thats all!
Do not forget to subscribe for latest articles!
If you enjoyed this post, make sure you subscribe to my RSS feed!
Thursday, March 20, 2008
|






0 readers commented:
Post a Comment