the below line of code determines the number of related posts that are displayed and by default 6 posts are fetched from each label.

var maxresults=5;

Now you should have a working related posts widget on your blog.If you want to customize the look and feel,then you can alter the CSS rules.OR if you have any doubts or need any modifications,you can surely contact me via comments or at Blogger Forums .The codes are well commented .So this can be easily removed whenever you want..

Note: If you want to display the Related Posts on every page, then remove the 4 lines of code starting with <!--Remove—>

Update 29/03/2012 : If the script is not working anymore, do change http://blogergadgets.googlecode.com/files/related-posts-for-blogger.js to http://bloggergadgets.googlecode.com/files/related_posts_compressed.js

its working fine on that page that you have mentioned..If you are talking of that No Image thumbnail,it is the default thumbnail which will be displayed if no images are present in that particular related post(no images uploaded via blogger post editor).

Okay, I tried this one instead of the one with thumbnails and it shows links to other posts that don't necessarily relate to the post a visitor is commenting on.

But, at least it shows something and that's an improvement.

The only problem I still have with it is that the related links do NOT show up on the main page or the post's page. They only show up if someone clicks to make a comment. Is that how it's supposed to work?

Hye.. i already install this code on my blog.. This related post actually work on my previous post.. But, when i install disqus comment box on my blog, the related post never showed again.. Whats is the problem actually ? can u help me ?

@ZaaRz did you upload the template to disqus for inseting the comment form.. if thats the case they might have removed some codes.. Try adding it again.. By the way i see the related posts with thumbnails working on your blog now..

Thank you very much. Those codes works just fine for my blog. If you don't mind, I'd like to ask you to review it too. Since I'm new to blogger's things. http://palantaden.blogspot.comBased on Minima template.

how to place this widget (Related Posts) belom the Adsense Code located between posting? this original code always place Related Posts above the Adsense. i need it to place Related post below Adsense. please refer to my blog, www.beingrich21.blogspot.com

Installed the code on my blog http://thinkspin.blogspot.com. I see the related posts immediately after publishing then they disappear. Can't figure out what I'm doing wrong. If you could take a look, I would appreciate it.

It works but why the title "related posts" doesn't show up. Is it related with the code var relatedpoststitle="Related Posts"; that automatically changes into var relatedpoststitle=&quot;Related Posts&quot;;. How to fix it?

zam said...It works but why the title "related posts" doesn't show up. Is it related with the code var relatedpoststitle="Related Posts"; that automatically changes into var relatedpoststitle="Related Posts";. How to fix it?

Seems like 20 is the maximum amount for related posts. Is there anyway to increase that amount? Also is it possible to arrange the related posts in chronological order? I want the newest ones to be on top.

Okay,I want the related posts to show on every post on every page. I followed the instructions in the above post. Took out all the b:if conditions from both code snippets, got div needs to be closed. added /div, still did not work. Took out just part of b:if and get loop needs same termination.

Can you please advise me as to what lines I should exactly remove to have this occur on each page? Thank you. I like the way it looks on opening a post.

Btw you already own a domain name. you can move your blog(derkzijlker.blogspot.com) to some sub-domain like blog.derkzijlker.com if you want :) . You will find the instructions for the same on this blog :)

i dont know why i get ths errorYour template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly. XML error message: The element type "html" must be terminated by the matching end-tag "".

Everything seems to be working except the images do not show in the related posts. I am new to Blogger so maybe I have overlooked something. I was also wondering if there was a way to assign an image to a post, without having to place in right in my post. Meaning I would like to see the image on the related posts but not in the middle of the post once I go to it.

I have a question. I have successfully used this on my blog but is there a way to display this widget below the read more "jump links" on the index and archive pages? I couldn't figure out how to do this.

I copied the code and pasted it underneath the jump link code and tried using "archive" and "index" in the if condition for data:blog.pageType but it doesn't display anything.

Wonderful addition to my blog! Your tutorial is just perfect and you've shared many clues in your response to comments that helped in restyling it as I wish.Thank you so much for this awesome Related Posts Widget, Aneesh!God bless you for your generosity.

thanks for the information! I want to ask? how do I change the color of the letters in the related posts are displayed? from blue to black as well as letters from the "Arial"? Thank you. answer please send it to email: gadgetmobiles@hotmail.com. (Www.gadgetmobile.org)

Installed the code on my blog http://www.rumahjualbali.com/. I see the related posts immediately after publishing then they disappear. Can't figure out what I'm doing wrong. If you could take a look, I would appreciate it.

hey... i applied the whole procedure but the widget is not being shown. my minima template was saved successfully. but the related posts are not shown. Can you help me here?the blog url is www.english-mokhtari-persia.blogspot.comwaiting for your response.....tnx in advance

Is there a way to block posts with certain words in their title from appearing? I post weekly to-do lists on my blog (entryleveldilemma.blogspot.com) but I don't want them appearing in the related posts section.

Thank you for this! I used it before and it worked... but after I changed my template and put this code in again it's not working any more! The two posts on the side have the same labels... Please help me!