How To Add Related Posts Widget To Blogger with Thumbnails

How To Add Related Posts Widget To Blogger with Thumbnails

related post, related posts blogger, blogger widgets

Adding the Related Posts Widget to Blogger/Blogspot

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

blogger template, edit html

Step 2. Click anywhere inside the code area and press the CTRL + F keys:

blogger search box, CTRL + F

Step 3. Search for this tag that you need to add inside the search box (hit Enter to find it):

Step 4. Copy and paste the below code just before/above the tag:



Note:
– to change the width and height of thumbnails, modify the 110px and 100px values in red
– to change the color and size of related posts titles, change the #333 color value in blue
– remove the line in violet if you want the related posts to be displayed both in homepage and post pages.

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

Step 6. Just above

paste this code:





Related Posts Widget


Note:
– change the 5 value from max-results=5 with the number of posts you want to be displayed
– if you want the related posts to be displayed on homepage too, then remove the b:if lines in violet

Update! If you are unable to see the related posts widget after saving the template, add the code (step 5) just above the tag that you can find above this line:

To get an idea of the exact location, see the screenshot below:

Step 7. Save the Template and that’s it. Now the Related Posts widget with Thumbnails should appear below each Blogger post that has labels on it. Enjoy!

Be the first to comment

Leave a Reply

Your email address will not be published.


*