How To Add Related Posts Widget To Blogger With Thumbnails

Now here is a wonderful hack for displaying related posts beneath each of your blog posts along with post thumbnails. The related posts are picked from other posts having same category/label/tag. With this hack many of your readers will remain on your site for longer periods of time when they see related posts of interest. 

Adding the Related Posts to Blogger / Blogspot

Step 1. Log in to your Blogger account and go to Template > Edit HTML

Step 2. Click any where inside the code area and press the CTRL + F Keys.

Step 3. Search below tag that you need to add inside the search box and hit enter to find it.

</head>

Step 4. Copy and paste the below code just before/above the </head> Tag.



Note :

  1. To change the width and height of thumbnails, modify the 110px and 100px values in red
  2. To change the color and size of related post titles, chnage the #333 color value in Blue.
  3. Remove the line in violet if you want the related posts to be displayed both in home page and post pages.

Step 5. Find the line below (you will find two timers, but you neet to stop at the second one:

<div class='post-footer'>

Step 6. Just above <div class='post-footer'> paste below code :



Note : 

  1. change the 5 value from max-results=5 with the number of posts you want to be displayed.
  2. if you want to related posts to be displayed on home page too, then remove the b:if lines in violet