Show the popular stories and articles of your blog in your sidebar. Give your visitors a reason to stay on your blog. Add popular posts widget in Blogger. It work on the total number of comments a post gets. So we can also call it as 'Most Commented Widget'.
Otherwise there is also a JavaScript available for the popular posts widget for Blogger.
Go to Blogger's Design > Page elements tab and click “Add a Gadget” and select “HTML/JavaScript” and copy paste the following code:
<script language='JavaScript'>
aBold = true;
numposts=200;
maxshowresult=5;
home_page = "http://simplebloggertutorials.blogspot.com/";
</script>
<script src='http://dl.getdropbox.com/u/708209/scriptabufarhan/popularpost/popularpostblogger-min.js' type='text/javascript'></script>
Now for a tutorial to how to customize this widget:
1. Change the link of home_page to your homepage name.
2. numposts is the number of posts you got.
3. maxshowresult is the maximum result that will be shown.
Change this accordingly.
1. Change the link of home_page to your homepage name.
2. numposts is the number of posts you got.
3. maxshowresult is the maximum result that will be shown.
Change this accordingly.
You can also download the script and put it on your server or free JavaScript hosts:
- http://sites.google.com/site/abufarhansite/home/popularpostblogger-min.txt
- http://www.hotlinkfiles.com/files/2709999_xqhsi/popularpostblogger-min.js
- http://dl.getdropbox.com/u/708209/scriptabufarhan/popularpost/popularpostblogger-min.js
0 nhận xét:
Post a Comment