Related Post With Thumbnail Widget Hacks for Blogger - TelecomBuzz - Telecom News, Mobile Fixes & Troubleshoots


Post Top Ad

Related Post With Thumbnail Widget Hacks for Blogger

Many of the user currently using widget by linkwith for showing related post by category or labels.

There is another method also to show the related widget in blogger itself without any external widget like linkwith.For this blogger hack you just need to change few codes of your blogger code and everything will be fine.

1.First of all Login to your blogger dashboard and navigate to Layout > Edit HTML and check the "Expand Widget Templates" check box

2.Now look for


Replace it with

<!--Related Posts with thumbnails Scripts and Styles Start-->
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<style type="text/css">
#related-posts {

#related-posts h2{
font-size: 1.6em;
font-weight: bold;
color: black;
font-family: Georgia, &#8220;Times New Roman&#8221;, Times, serif;
margin-bottom: 0.75em;
margin-top: 0em;
padding-top: 0em;
#related-posts a{
#related-posts a:hover{

#related-posts a:hover {
<script src='' type='text/javascript'/>
<!--Related Posts with thumbnails Scripts and Styles End-->

4. Now Find below code

<div class='post-footer-line post-footer-line-1'>

5. paste the below code just after the step-4

<!-- Related Posts with Thumbnails Code Start-->
<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 cond='data:blog.pageType == &quot;item&quot;'>
<script expr:src='&quot;/feeds/posts/default/-/&quot; + + &quot;?alt=json-in-script&amp;callback=related_results_labels_thumbs&amp;max-results=6&quot;' type='text/javascript'/></b:if></b:loop><a href='' style='display:none;'>Related Posts with thumbnails for blogger</a><a href='' style='display:none;'>blogger widgets</a>
<script type='text/javascript'>
var currentposturl=&quot;<data:post.url/>&quot;;
var maxresults=5;
var relatedpoststitle="Related Posts";
</div><div style='clear:both'/>
<!-- Related Posts with Thumbnails Code End-->

Note if you dont find the footer code don't worry, you may use after <p><post.body>Here

.......Just replace the 'Here' with the step-5 code.

6. You may adjust the maximum number of post by

var maxresults=5;

Change number 5 to any other number

7. You may change the title of related post widget by changing this

var relatedpoststitle="Related Posts";

Just Link this post if you really find this post Interesting

Related Posts with Thumbnails for Blogger

Technology Updates On Mail

Follow Us

Post Top Ad