Wednesday 10 April 2013

How to Add Random Post Link "I'm Feeling Lucky" on Blogger

Leave a Comment
How to Add Random Post Link "I'm Feeling Lucky" on Blogger
In WordPress you can redirecting WordPress users and viewers to a random post on a WordPress website. It can be done in many different ways. Luckly, in Blogger you can use some tricks to redirect blog visitors to random post. This trick allows you to create a link to "yourblog.blogspot.com/?random" which will redirect someone to a random post on your blog without see the same post twice.
  1. Login to your Blogger account.

  2. Go to "Blogger Dashboard" > "Template" > "Edit HTML".

  3. Check the  "Expand Widget Templates".

  4. In the code window, search for (Ctrl + F) </head> tag.

  5. Add below code just before </head> tag:

  6. <script type='text/javascript' src='https://bloggerxtutorials.googlecode.com/files/bloglucky-min.js'></script>

  7. Then put the following link wherever you want:

  8. <a href='#random' onclick='feelingLucky()' title='Random Post'>I'm Feeling Lucky</a>

  9. Save it.

0 comments :

Post a Comment

Related Posts Plugin for WordPress, Blogger...