Related Posts In Blogger With 3 Lines of Code

There are many 'Related Posts' solutions for blogger platform, like the one I have on my blog. Almost each one of them require lot of changes in the template code. Finally, I have discovered an excellent solution to this, which only requires 3 lines of code to be embedded in the template. Let's see how to implement this excellent way to show related posts in blogger.

Related Posts Widget for Blogger

Related Posts Plugin

Yu-Jie Lin has invented this excellent related posts plugin for blogger platform. You can install this solution in two ways.

1. Install widget in sidebar
2. Displaying related posts below blog posts

Method - 1: Installing Widget In Sidebar

Simply visit the Related Post Widget home page and click the 'Add Related Posts Widgets' button. Follow the instructions and done.

Method - 2: Displaying Related Posts Below Blog Posts

Alternatively, you can choose to display related posts below each blog post. To implement that following these 3 simple steps.

1. Open your blog template the find the following line in the template.

<div class='post-footer-line post-footer-line-3'/>

2. Just below this code add a line of code like this.

<div class='post-footer-line post-footer-line-3'/>
<div id='related_posts'/>

3. Go to end of the template and find </body> tag. Just above this tag add the following two lines of code.

<script src=''/>
<script src='' type='text/javascript'/>


This script will show a maximum of 10 related posts. The execution time is very less because the data is cached by the script on the server.

If you enjoyed this article, get email updates (it's free).

blog comments powered by Disqus

NEXT POST: Newer Post PREVIOUS POST: Older Post Home

About Rajeev Edmonds

MintBlogger author - Rajeev EdmondsRajeev Edmonds has been blogging since 2006 about digital marketing, social media and of course about problogging. He specializes in WordPress installation and Thesis theme customization. He is the founder and editor of MintBlogger where he blogs about new media strategies.

Since April, 2012, he's making his living entirely from his blogging efforts. He holds a post graduate degree in computer applications and loves to dig in CSS/HTML code. Read more →

Get Custom Design For Your Blog

Website showcase Nothing converts better then a unique blog design with a branded look n' feel.

Get a unique design for your blog that brings more leads and prospects for your business. Give a new skin to your existing theme to stand out in the crowd. Change theme and see the difference!

Request a Free Quote NOW!

Start Your WordPress Blog

WordPress logo Are you planning to start your own self-hosted WordPress blog? You can get one today!

This is right time to get started. Claim complete control over your WordPress blog hosted on a reliable and powerful web server. Be the owner of your WordPress blog without any restrictions.

Claim Your Free Blog Setup NOW!