Your Ad Here
;

Thursday, October 15, 2009

How to add related posts below every post

To add Related posts/Similar posts widget below every post on your blog follow these simple step:

First of all download this file:
relatedPosts_ForBlogger2.js

Zipped File

And upload the file (relatedPosts_ForBlogger2.js) to http://www.mydatanest.com to get a Direct Link to that file.

1. Go to Blogger.com
2. Now go to "Layout", then to "Edit HTML" section
3. Back up your present template, by "Downloading it"
4. Now click on "Expand widget templates"
5. Find this code:

Now, just before this code paste this




Replace the link in RED with the DIRECT LINK, you got in the previous step.

6. Now search for this code line:





And after this, paste these code lines





To change the number of similar/related posts to be displayed, change the code max-results=xx
Finally save your template, and you will see related posts after all your posts(Remember to add labels after your posts, during publishing them)

0 comments:

Post a Comment

 

Copyright 2009 - Template A New Bloger. All Rights Reserved.
DeshAmarBD Template by DeshAmarBD.