Most of the bloggers add more sidebar widgets to increase pageviews. You can find Recent Post, Popular Post and Related Post widgets in almost all blogs. Now lets see displaying Random Post widget in blogger sidebar. Its a very useful widget because it lets you to show all older posts randomly fashion.
Abdul-Hakeem.com is powered by Blogger. I use many widgets to improve page impression. The number of posts links in Random post widget to be displayed can be controlled by the webmaster. Now getting back to our topic,
Steps to Show Random Posts in Blogger:
1. Login to Blogger Account.
2. Go to Design –>Add a Gadget, and select it as “HTML/JavaScript” widget.
3. Now Copy and Paste this code in to it:
<script type='text/javascript'>
var randarray = new Array();var l=0;var flag;
var numofpost=5;function randomposts(json){
var total = parseInt(json.feed.openSearch$totalResults.$t,10);
for(i=0;i < numofpost;){flag=0;randarray.length=numofpost;l=Math.floor(Math.random()*total);for(j in randarray){if(l==randarray[j]){ flag=1;}}
if(flag==0&&l!=0){randarray[i++]=l;}}document.write('<ul>');
for(n in randarray){ var p=randarray[n];var entry=json.feed.entry[p-1];
for(k=0; k < entry.link.length; k++){if(entry.link[k].rel=='alternate'){var item = "<li>" + "<a href=" + entry.link[k].href + ">" + entry.title.$t + "</a> </li>";
document.write(item);}}
}document.write('</ul>');}
</script>
<script type='text/javascript' src='/feeds/posts/default?alt=json-in-script&start-index=1&max-results=1000&callback=randomposts'></script>
<span style='font-size: 80%'>Widget by <a href='http://www.bloggerehow.blogspot.com'>Blogger eHow </a></span>
Note:
If you which to change number of post displayed.Change the no 5 marked as red in this code numofpost=5
Credits:
This widget script was developed by Field of Dreams
Enjoy!
31 comments:
Could you add a possibility to have random posts only from a label ?
Great!
At twenty years of age, the will reigns; at thirty, the wit; and at forty, the judgment Cheap Minecraft Gift Code, what gets us into trouble is not what we don't know.It's what we know for sure that just ain't so Buy Xbox Live Points, life is like a hot bath. It feels good while you're in it, but the longer you stay in, the more wrinkled you get Ultimate Game Card.
The consequences of today are determined by the actions of the past scarlet blade gold. To change your future, alter your decisions today scarlet blade gold, Experience is a hard teacher because she gives the test first, the lesson afterwards scarlet blade gold, but it takes character to keep you there.
Check to see if your desired username or vanity url is still available at dozens of popular social networking and Social Bookarking websites.
Great Widget
Random post by Label
http://bloggertipsall.blogspot.com/2013/06/top-new-posts-by-category-by-label.html
this is awesome widget, and i use in my blogger. thanks
Armadhita Arief
Bangalore Escorts |
Independent Escorts Bangalore | Call Girls Bangalore |
High Profile Escorts |
Celebrity Escorts Bangalore
http://www.haveme.in
Nice post, best blog.
Artikelcara10
Surat Escorts Sunita Verma is offering Physical Escort Service in Surat, High Class Independent Escort Girl in Surat hires me for high-class fun and relation.
http://www.geocities.ws/suratescorts/
I am Rubika Mathur and i am a hot mumbai escorts girl from mumbai and a young. beautiful and sexy mumbai escorts girl. I am aeducated girl just passed out from mumbai university. I am a high class and presentable lady and you can hire me for each and every event. I am Available anytime in mumbai for outcall escorts service in mumbai
Mumbai Escorts
Mumbai independnet Escorts
Mumbai Female Escorts
independent Mumbai Escorts
Mumbai Escorts Service
Mumbai Independent Escorts Service
escorts service in pune
pune escorts service
escorts in pune
pune escorts
pune escorts
escorts in pune
escorts service in pune
pune escorts service
pune escorts
escorts in pune
escorts service in pune
pune escorts service
pune escorts service
escorts in pune
pune escorts
escorts service in pune
This is very good site for escort service .
http://www.amiga.in/
Best Escorts Services Provider Vadodara, Surat, Ahmedabad
Surat Escorts
Vadodara Escorts
Escorts in Ahmedabad
Daman Escorts
Zirakpur Escorts
http://www.call2date.in/andheri-escorts.html
Andheri Escorts
Escorts in Andheri
Andheri Call Girls
Call Girls in Andheri
Andheri Escort Girls
Escorts Service in Andheri
Andheri Escort Service
Independent Escorts Andheri
Female Escort in Andheri
Call Girls In Rishikesh @ https://haridwarescortgirl.blogspot.in/2017/07/find-here-extremely-sizzling-call-girls.html
Escorts In Rishikesh @ http://idleexperts.com/public/Article/index/id/152609
Escort Service Rishikesh @ http://articleneed.com/make-pleasant-night-with-hottest-call-girls-in-rishikesh/
Escorts In Rishikesh @ http://www.eioba.com/a/5hh2/easy-to-get-knowledgeable-rishikesh-escorts-girls-at-haridwar
Escorts Service Rishikesh @ http://rishikeshcallgirls.kinja.com/revitalize-your-boring-life-with-erotic-rishikesh-call-1796705735
Escorts Rishikesh @ https://penzu.com/public/b1bce2f1
Rishikesh Escorts Agency @ https://uberant.com/article/286287-one-spot-for-complete-rishikesh-escorts-service-/
High Profile Escorts In Rishikesh @ http://www.makemyarticles.com/ArticleDetails/95664/Getting_impeccable_feeling_by_Rishikesh_Call_girls.html
Independent Escorts In Rishikesh @ http://rishikeshcallgirl.strikingly.com/
Independent Rishikesh Escorts @ https://www.smore.com/8vfpy-independent-escorts-in-rishikesh
Model Escorts In Rishikesh @ http://haridwarescort.over-blog.com/2017/07/things-to-recollect-while-employing-rishikesh-escorts-girl.html
Rishikesh Call Girls @ http://www.buzzsprout.com/110620
Rishikesh Escorts @ https://haridwarescort.joomla.com/8-rishikesh-escorts-girls
Rishikesh Escorts @ https://www.minds.com/blog/view/730030465733369856
Rishikesh Escorts Service @ http://aliyasharma1.deviantart.com/art/Things-to-memorize-while-utilize-Rishikesh-escorts-691200586
Rishikesh Model Escort @ http://www.sivaindia.com/ad/rishikesh-call-girls-make-your-night-colourful-250833
Celebrity Escorts In Rishikesh @ https://stackstreet.com/meet-intriguing-call-girls-rishikesh/
Vip Escorts In Rishikesh @ https://www.slideshare.net/haridwarescort/educated-call-girls-in-rishikesh-escorts-services
Agra Escorts
Call Girls in Agra
Escort girls in Agra
Escorts in Agra
Foreigner Escorts in Goa
Russian Escorts in Goa
http://siyasharma.com/foreigner-escorts-goa.html
Bandra Escorts
Call Girls in Bandra
Andheri Escorts
Call Girls in Andheri
Juhu Escorts
Call Girls in Juhu
Call Girls in Juhu
Andheri Escorts
Call Girls in Andheri
Juhu Escorts
Call Girls in Juhu
Bandra Escorts
Call Girls in Bandra
http://pinkgrapes.in/
Bhiwadi Escorts
Escorts in Bhiwadi
Call Girls in Bhiwadi
http://www.chiggy-wiggy.com/bhiwadi.html
Rewari Escorts
Escorts in Rewari
Call Girls in Rewari
http://www.chiggy-wiggy.com/rewari.html
Neemrana Esorts
Escorts in Neemrana
Call Girls in Neemrana
http://www.chiggy-wiggy.com/neemrana.html
Call Girls in Bhiwadi
Bhiwadi Escorts
Escorts in Bhiwadi
http://www.rimshakhan.in/
http://www.ushi.in/
http://www.ushi.in/amritsar-escorts.html
http://www.ushi.in/ludhiana-escorts.html
http://www.ushi.in/jalandhar-escorts.html
http://www.ushi.in/mohali-escorts.html
http://www.ushi.in/bathinda-escorts.html
http://www.ushi.in/patiala-escorts.html
http://www.ushi.in/pathankot-escorts.html
http://www.ushi.in/panchkula-escorts.html
http://www.ushi.in/zirakpur-escorts.html
http://www.ushi.in/manali-escorts.html
http://www.ushi.in/shimla-escorts.html
Escorts in Neemrana
Escorts in Rewari
Escorts in Bhiwadi
Escorts in Dharuhera
Escorts in Manesar
http://www.ushi.in/panaji-escorts.html
http://www.ushi.in/margao-escorts.html
http://www.ushi.in/calangute-escorts.html
http://www.ushi.in/baga-beach-escorts.html
http://www.ushi.in/mapusa-escorts.html
http://www.ushi.in/candolim-escorts.html
http://www.ushi.in/vasco-da-gama-escorts.html
http://www.rashmibhargav.in/
Chandigarh Escorts
Call Girls in Chandigarh
Escorts in Chandigarh
Chandigarh Call Girls
Chandigarh Escort Service
Escorts Service in Chandigarh
http://www.ushi.in/shimla-escorts.html
Shimla Escorts
Escorts in Shimla
Shimla Call Girls
Call Girls in Shimla
Shimla Escort Service
Escorts Service in Shimla
Post a Comment