31 January 2013
How to Add Thumbnails Related Post widget for Blogger
Thursday, January 31, 2013
By
Imtiaz Ahmed
Blogger Tips,
Blogger Widgets and plugins,
Tips And Tricks
No comments

By displaying Thumbnails Related posts widget on your blog visitor/readers attracts easily and clicks on posts reader find useful. This widget displays not only Related posts links also thumbnails according to the category wise which you've added under Label/category.
Let's begin the tutorials.
How to Add Thumbnails Related Post widget for blogger
Step One:Sign into your blogger account
Click on "Design (Layout in the new blogger interface)
Click on "EDIT HTML" link tab
Mark the "Expand widget template" box
Step Two:
Now, Search the code
</head>After finding the code copy the below code and paste above to it
Step Three
<!--BTF Thumbnail Related Posts widget Scripts Starts-->
<!-- remove --><b:if cond='data:blog.pageType == "item"'>
<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: 1.6em;
font-weight: bold;
color: black;
font-family: Georgia, “Times New Roman”, Times, serif;
margin-bottom: 0.75em;
margin-top: 0em;
padding-top: 0em;
}
#related-posts a{
color:black;
}
#related-posts a:hover{
color:black;
}
#related-posts a:hover {
background-color:#d4eaf2;
}
</style>
<script type='text/javascript'>
var defaultnoimage="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirTmrFKsCf3nHjFv5MHcEdkB0dz5y2McWJPxLKew3LM2tTOQZlBu2pGrTGBtIV-mUQSy_hvEYz5dFDNAsXlWwZ7EenFlctyVzdd2xfM4SFShTj06hXSx-D6bTCc4o0hJakkVof0xqEyTI/s660/noimage-blogtariff.com.png";
var maxresults=5;
var splittercolor="#d4eaf2";
var relatedpoststitle="Related Posts";
</script>
<script src='http://blogtariff.googlecode.com/files/related-posts-with-thumbnails-for-blogger.js' type='text/javascript'/>
<!-- remove --></b:if>
<!--BTF Thubmnails Related Posts with Scripts Ends-->
Step Four
Cutomization
If need replace "5 posts" with your own value under "var maxresults=5;" number of posts to be displayedIf need to display Thumbnail Related post widget to be displayed in Home page Delete it Code color in "Pink"
Step Five:
Search for code
<div class='post-footer-line post-footer-line-1'>If you can not find the above code then try this code to search
<p class='post-footer-line post-footer-line-1'>Or Else
<data:post.body/>After finding the code copy the below code and paste it below the code
<!-- BTF Thumbnails Related Posts widget Code Starts-->After sucessfully adding the above code now, if you need change the below tags/value
<!-- remove --><b:if cond='data:blog.pageType == "item"'>
<div id='related-posts'>
<b:loop values='data:post.labels' var='label'>
<b:if cond='data:label.isLast != "true"'>
</b:if>
<script expr:src='"/feeds/posts/default/-/" + data:label.name + "?alt=json-in-script&callback=related_results_labels_thumbs&max-results=6"' type='text/javascript'/></b:loop>
<script type='text/javascript'>
removeRelatedDuplicates_thumbs();
printRelatedLabels_thumbs("<data:post.url/>");
</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.blogtariff.com'><img alt='Blogger tricks and Blogger Tips' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0fPsrVrBjVKe0R9Kp751tIuueQFFZ7i8hjntdNvhj2ED2krd1hKb0YTuFCbq2BNmNR3ZDdygDOTzOOH7R2mIgDPhU08gP36MmWwOog3mNBXDEk-7YMbYtyhkS0qFq1a1hR0oRbZztI4RZ/s1600/best+blogger+tips.png'/></a>
</b:if></b:if>
<!-- BTF Thumnails Related Posts widget Code Ends-->
Customization:
If need replace "6 value" with your own value under "var maxresults=6;" number of posts to be displayedIf need to display Thumnail Related post widget to be displayed in Home page Delete it Code color in "Pink"
After successful and necessary modifications now, "Save the Template"
0 comments:
Your feedback is always appreciated. We will try to reply to your queries as soon as time allows.
Note:
1. To add HTML CODE in comments then please use our HTML Encoder
2. You can always Test the tutorial on our HTML Editor
3. Please do not spam Spam comments will be deleted immediately upon our review.
Regards,
Imtiaz Ahmed