December 13, 2009

Random Posts Widget for Blogger / Blogspot



Now here is wonderful hack for displaying links to related posts beneath each of your blog posts. The related articles are chosen from other posts in that same category/label/tag. With this hack many of your readers will remain on your site for longer periods of time when they see related posts of interest.


Steps for Implementation:

  1. Go to Layout >Edit HTML in your Blogger Dashboard.
  2. Back up your existing Template before making any changes!
  3. Make sure to check the "Expand Widget Templates" box.
  4. Search for the tag.
  5. Add the following code just before the tag.


  • Now Save your Template and you're done!


  • Customization
    • In order to change the number of maximum related posts being displayed for each label, search for the code below (within the code given in step 7) and change the number "5" to any desired number.
    • max-results=5

    If you have any questions on implementing this hack into your own blog, shoot me a comment and I'll be glad to help!

    Enter your email address:

     

    Copyright 2009 All Rights Reserved Revolution Two Church theme by HackingAday