Over at Hoctro's Place, I found a great hack which can help you show links to related posts (by label) beside each of your blog posts (in the sidebar section). This can be a very useful hack because many visitors to your blog will land on a "post page" rather than on your home page, and these links can direct them to other posts of interest on your blog.
This hack uses the JSON Callback technique to retrieve post titles from your blog's labels feed. Also, the inclusion of more than one label set is possible, so if you have more than one label for a post, related titles will displayed for each of these labels.
You can choose the maximum number of labels to display as well as the maximum number of posts for each label, which is handy if you feature a great many posts under one particular label.
Hoctro's instructions for this hack are very good, and take you through the modifications to your template step-by-step. It is advisable to pay close attention to the instructions though as the modifications are quite extensive!
For the full tutorial, please visit the "Showing Related Articles" tutorial over at Hoctro's blog.
Although I don't currently feature this hack here on Blogger Buster, I will certainly make use of this when my template is upgraded in the next few weeks! I will also look into the possibility of featuring the related posts links right beneath each post instead of in the sidebar, which I will post as tutorial once I am more sure of how this can be achieved.
Technorati Tags: related+posts | javascript | widget | labels | feeds
Save as PDF




My name is Amanda Fazani and I write Blogger Buster to help other Blogger users make the most of their Blogger blogs.

Post a Comment 10 Comments:
Amanda,
Did you ever get a chance to post about how to include related post links underneath a post? I love this idea, and hope that it would show up in readers too.
hey amanda i have added the related links widget in the the post pages.However there is one problem , the links appear below post comments.Can you tell how did you put the related links above comments??
Hey I found a great tip about related Posts on digg...
you can chk the detailed post here
http://realtrix.blogspot.com/2008/09/create-related-posts-plugin-for-blogger.html
Realtrix made a good job in there but again the code is not showing random posts.
Is there a way to have related posts in classic blogger?
Hi, Amanda... I have followed the instructions there and ended up having it on the sidebar. How do I have them under each post above the comments like on this page? Thank you for the time you took posting this.
Good God this is ridiculously more complicated than 3 easy steps... screw it.
hi amanda...
is there a template with "related post" feature as a default feature?
nice blog amanda....
I've also found easy way to implement related posts by category and i think this one is easier
Seems like I have no access to Hoctro's blog (it says that I'm not invited). Is there any other place to read?