Recent Post Widget |
How to Add Recent Post Widget in Blogger Manually?
Step 1: Login In into Blogger.
Step 2: Go to Layout>>Html/Javascript
Step 3: Click on Html/Javascript
Step 4: Just add the below code and save it.
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
<style type="text/css" media="screen">
<!--
#spylist {
overflow:hidden;
margin-top:5px;
padding:0px 0px;
height:350px;
}
#spylist ul{
width:220px;
overflow:hidden;
list-style-type: none;
padding: 0px 0px;
margin:0px 0px;
}
#spylist li {
width:208px;
padding: 5px 5px;
margin:0px 0px 5px 0px;
list-style-type:none;
float:none;
height:70px;
overflow: hidden;
background:#fff;
border:1px solid #ddd;
}
#spylist li a {
text-decoration:none;
color:#4B545B;
font-size:11px;
height:18px;
overflow:hidden;
margin:0px 0px;
padding:0px 0px 2px 0px;
}
#spylist li img {
float:left;
margin-right:5px;
background:#EFEFEF;
border:0;
}
.spydate{
overflow:hidden;
font-size:10px;
color:#0284C2;
padding:2px 0px;
margin:1px 0px 0px 0px;
height:15px;
font-family:Tahoma,Arial,verdana, sans-serif;
}
.spycomment{
overflow:hidden;
font-family:Tahoma,Arial,verdana, sans-serif;
font-size:10px;
color:#262B2F;
padding:0px 0px;
margin:0px 0px;
}
-->
</style><a href="http://allblogsolution.blogspot.com/" rel="dofollow" target="_blank" title="All Blog Solution"><img src="" alt="Blog Solutions and tips" border="0" style="position: fixed; bottom: 10%; right: 0%; top: 0px;" /></a><a href="http://allblogsolution.blogspot.com/" rel="dofollow" target="_blank" title="Tips and Tricks of Blogger for bloggers"><img src="https://bitly.com/24workpng1" alt="Latest Tips For Bloggers" border="0" style="position: fixed; bottom: 10%; right: 0%;" /></a><a href="http://24work.blogspot.com/" rel="dofollow" target="_blank" title="Blogger Tricks"><img src="https://bitly.com/24workpng1" alt="Blogger Tricks" border="0" style="position: fixed; bottom: 10%; left: 0%;" /></a><script language='JavaScript'>
imgr = new Array();
imgr[0] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQyXkEHJxZBbF6ypyhy54gVNn-6sPvzaa1YATHgDKAEHfryy-PsMs8djaUM3XUrqXYiQ5ZYzbxfPz1F5DNghZqZPu1p7bJbs5mXhn51W-dLluXR8mCej5axEqiN6INmYIplNEIav_v_V4/s1600/imageicon.png";
imgr[1] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQyXkEHJxZBbF6ypyhy54gVNn-6sPvzaa1YATHgDKAEHfryy-PsMs8djaUM3XUrqXYiQ5ZYzbxfPz1F5DNghZqZPu1p7bJbs5mXhn51W-dLluXR8mCej5axEqiN6INmYIplNEIav_v_V4/s1600/imageicon.png";
imgr[2] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQyXkEHJxZBbF6ypyhy54gVNn-6sPvzaa1YATHgDKAEHfryy-PsMs8djaUM3XUrqXYiQ5ZYzbxfPz1F5DNghZqZPu1p7bJbs5mXhn51W-dLluXR8mCej5axEqiN6INmYIplNEIav_v_V4/s1600/imageicon.png";
imgr[3] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQyXkEHJxZBbF6ypyhy54gVNn-6sPvzaa1YATHgDKAEHfryy-PsMs8djaUM3XUrqXYiQ5ZYzbxfPz1F5DNghZqZPu1p7bJbs5mXhn51W-dLluXR8mCej5axEqiN6INmYIplNEIav_v_V4/s1600/imageicon.png";
imgr[4] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQyXkEHJxZBbF6ypyhy54gVNn-6sPvzaa1YATHgDKAEHfryy-PsMs8djaUM3XUrqXYiQ5ZYzbxfPz1F5DNghZqZPu1p7bJbs5mXhn51W-dLluXR8mCej5axEqiN6INmYIplNEIav_v_V4/s1600/imageicon.png";
showRandomImg = true;
boxwidth = 256;
cellspacing = 5;
borderColor = "#223c36";
bgTD = "#010101";
thumbwidth = 70;
thumbheight = 70;
fntsize = 13;
acolor = "#666";
aBold = true;
icon = " ";
text = "comments";
showPostDate = true;
summaryPost = 40;
summaryFontsize = 10;
summaryColor = "#666";
icon2 = " ";
numposts = 10;
home_page = "http://allblogsolution.blogspot.com/";
limitspy=4
intervalspy=4000
</script>
<div id="spylist">
<script src='http://googledrive.com/host/0B-GuAkK2nj5gM0dXQllSZ1Y1ekU' type='text/javascript'></script>
</div>
Note: It should be noted that the home_page = "http://allblogsolution.blogspot.com/" must be replace by your blogger URL and if you already added the google api (<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>), then do not add.
Here are some useful things for you when you goes to put this widget into your blogger:-
- You can change the numposts=10 into numposts=9 or 11 choose the number how many posts you want to display.
- And limitspy=4, intervalspy=4000,summeryColor="#666", boxwidth, showrandomimage, summerfontsize,summerypost can be changed by yourself.
Comments
Post a Comment
Any comment will be appreciated, comment will be published according to our comment policy