Related 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.



Preview of Related Posts Links:


Error Fix:

If your related posts have not been working correctly:
  1. Search for this line of code: http://theblogtemplates.com/scripts/Related_posts_hack.js
  2. Replace the URL above with https://sites.google.com/site/widgetsforfree/scripts/Related_posts_hack.js

How to Add Related Posts Widget to Your Blog?

  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!
    Make sure to check out our other great Blogger Hacks as well:
    Recent Posts Hack with Thumbnails; Recent Comments Hack; Sleek Search Bar

    Special thanks to Real Trix!
    Previous
    Next Post »
    Thanks for your comment
    Get widget