14 How to show links to related posts

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: | | | |

14 Comments:

29 July 2008 20:30 Jennifer said...

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.

3 September 2008 14:23 rahul said...

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??

7 September 2008 17:48 Dominick said...

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

1 November 2008 16:47 Altuğ KOÇ said...
This post has been removed by the author.
30 December 2008 17:32 Ben said...

Is there a way to have related posts in classic blogger?

7 April 2009 18:45 Lusy sunsetgirl W. said...

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.

11 April 2009 20:53 The Admiral said...

Good God this is ridiculously more complicated than 3 easy steps... screw it.

21 April 2009 01:12 hajar said...

hi amanda...
is there a template with "related post" feature as a default feature?

nice blog amanda....

22 May 2009 18:44 Namiti said...

I've also found easy way to implement related posts by category and i think this one is easier

25 June 2009 17:06 GunSmoker said...

Seems like I have no access to Hoctro's blog (it says that I'm not invited). Is there any other place to read?

18 August 2009 13:59
Anonymous said...

Nice info here

2 September 2009 14:21
Anonymous said...

Hi,

Is there anyway to open a link I have created in my Post in a new window?

Thanks

David

29 November 2009 02:27 tutorial-blogger.com said...

thank you for helping me in developing a blog, I have a website that provides tutorials blogger, hopefully we can share

9 December 2009 06:38 rana said...

nice article. Thanks for this.

Post a Comment

Browse through the Archives

All existing posts are still available to view while I'm working on the site, albeit seen in a much simpler interface. Feel free to browse through the archives to find tutorials, templates and articles to help you build a better blog:

Blog Archive

© Blogger Buster 2010 Home | About | Contact | Hire Me