Recent Posts

prev next

Sunday, February 14, 2010

How to Add "Recent Posts" Widget in your blog

Posted on 7:06 AM by Mohamed Omar



Today while I was browsing internet for some blogger tricks I found this trick so I added this post. I hope it be good for you.

It's useful because it show people the newest posts and you can control the border color, font color any thing in the widget...
Sign into Blogger dashboard. Then Go to Layout Then Add a gadget Then html/JavaScript
At Last Just copy and paste this code:


<script language="JavaScript">
imgr = new Array();
imgr[0] = "http://i43.tinypic.com/orpg0m.jpg";
imgr[1] = "http://i43.tinypic.com/orpg0m.jpg";
imgr[2] = "http://i43.tinypic.com/orpg0m.jpg";
imgr[3] = "http://i43.tinypic.com/orpg0m.jpg";
imgr[4] = "http://i43.tinypic.com/orpg0m.jpg";
showRandomImg = true;
boxwidth = 298;
cellspacing = 8;
borderColor = "#ffffff";
bgTD = "#000000";
thumbwidth = 40;
thumbheight = 40;
fntsize = 12;
acolor = "#666";
aBold = true;
icon = " ";
text = "comments";
showPostDate = false;
summaryPost = 40;
summaryFontsize = 10;
summaryColor = "#666";
icon2 = " ";
numposts = 4;
home_page = "http://e-blogtricks.blogspot.com/";
</script>

<script src="http://myblogtalk.com/bloggertemplates/js/recentposts_thumbnail.js" type="text/javascript"></script>

You gotta change home_page with red colour to your home page link

Via: http://bloggertricks.com


Subscribe in a reader




No Response to "How to Add "Recent Posts" Widget in your blog"

Leave A Reply