How to add related post with thumbnail in blogger

How to add related post on Blogger
Well anybodody knows how to install the related post? Maybe you are using a free service called www.linkwithin.com, but a lot of the disadvantages of using these services is on the Home page of your blog is also shown (Under readmore). Wanna know how to put on a good related post? I will discuss it.

Here's how I install related post

1. Go to Blog menu dashboard> Template> Edit HTML
2. Do not forget to check the 'Expand widget templates'
3. Find this code (use Ctrl + F to make it easier)
4. Paste the following code above / before </head>

<!--Begin | www.seo-for-top.blogspot.com-->
<!-- remove --><b:if cond='data:blog.pageType == &quot;item&quot;'>
<style type='text/css'>
#related-posts {
float:center;
text-transform:none;
height:100%;
min-height:100%;
padding-top:5px;
padding-left:5px;
}

#related-posts h2{
font-size: 18px;
letter-spacing: 2px;
font-weight: bold;
text-transform: none;
color: #5D5D5D;
font-family: Arial Narrow;
margin-bottom: 0.75em;
margin-top: 0em;
padding-top: 0em;
}
#related-posts a{
border-right: 1px dotted #DDDDDD;
color:#5D5D5D;
}
#related-posts a:hover{
color:black;
background-color:#EDEDEF;
}
</style>
<script type='text/javascript'>
var defaultnoimage=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhENd918C3lbx6HwmPoX1Gn4C1hpfErIuHc7jWYZwNmPNOkOHLyxKA67uSq8s-n8yX5IuL8syG5tkpKzXk3hyphenhyphen200XQ9a1muw7UKhVELZoJQQoKwkRp1PNnqfR_fwuWKWWfKcPjh1AsJoph-/s1600/no_image.jpg&quot;;
var maxresults=5;
var splittercolor=&quot;#DDDDDD&quot;;
var relatedpoststitle=&quot;Related Posts&quot;;
</script>
<script src='https://seo-for-top.googlecode.com/files/java.js' type='text/javascript'/>
<!-- remove --></b:if>
<!--End | www.seo-for-top.blogspot.com-->
Guide

  1. To change the image, change the url of the blue with the url of your image.
  2. To change the number of posts displayed, replace the '5 'to the number of posts to be displayed.
  3. Eliminate code purple if you want to show well under readmore (same as linkwithin)
5. Now find this code
<div class='post-footer'>
6. Paste this code above it
<!-- Related Posts with Thumbnails Code Start-->
<!-- remove --><b:if cond='data:blog.pageType == &quot;item&quot;'>
<div id='related-posts'>
<b:loop values='data:post.labels' var='label'>
<b:if cond='data:label.isLast != &quot;true&quot;'>
</b:if>
<script expr:src='&quot;/feeds/posts/default/-/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=related_results_labels_thumbs&amp;max-results=5&quot;' type='text/javascript'/></b:loop>
<script type='text/javascript'>
removeRelatedDuplicates_thumbs();
printRelatedLabels_thumbs(&quot;<data:post.url/>&quot;);
</script>
</div><div style='clear:both'/>
<!-- remove --></b:if>
<b:if cond='data:blog.url == data:blog.homepageUrl'><b:if cond='data:post.isFirstPost'>
<a href='http://www.seo-1st.blogspot.com'><img alt='Blogger Tricks' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwvGQZowvt1_CcmEzCN6R0DpGv77tjpZTCI9fM7UIQjGJxB78MahhjiWwp_8LHo24aIU2vUjYOa0OgDenLQFLYCgGfcKmD3yam4ULliZuLmerZYfBjkYdhGEBlVmvc4m-bAdOM2TmSoG8s/s1600/best+blogger+tips.png'/></a>
</b:if></b:if>
<!-- Related Posts with Thumbnails Code End-->

  1. To change the number of posts displayed, replace the '5 'to the number of posts to be displayed.
  2. Eliminate code blue if you want to display it as well in your homepage


Advertisement