Social Icons


Pages

ADD RELATED POSTS WIDGET TO BLOGGER WITH THUMBNAILS

ADD RELATED POSTS WIDGET TO BLOGGER WITH THUMBNAILS




Features


Responsive Design
Fast Loading And SEO Friendly.
Shows Post of same category/label/tag.
Blog Post Title with Thumbnail.
Easy to Install.


Add This Widget To Blogger

  1. Go To Blogger Dashboard
  2. Click On Template Tab
  3. Now Click On Edit HTML>>Proceed.
  4. Check the "Expand widgets template"




Now Find ]]></b:skin>
Paste Below Code Above ]]></b:skin>

#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;
}

Now Find </head> And Paste Below Code Above it



<b:if cond='data:blog.pageType == &quot;item&quot;'>
<script type='text/javascript'>
var defaultnoimage=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzXIs73OUUk-_tuanN5R8JYVsBQPu3BsMojH3NSsb89u_63ErAt-5TT3-U0UkVbUMkA5ANnAW0XAgUNyFcXUaCpL5HfRSCgAOwkFGmsXNFZYhH2G2TNb2Hymf6ToI4KJJpJAtKOwnkAzg3/s1600/no_image.jpg&quot;;
var maxresults=5;
var splittercolor=&quot;#DDDDDD&quot;;
var relatedpoststitle=&quot;Related Posts&quot;;
</script>
<script src='http://helplogger.googlecode.com/svn/trunk/related-posts-with-big-thumbnails.js' type='text/javascript'/>
</b:if>



Now Find <div class='post-footer'>
And just above it, copy and paste the below code




<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=6&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://lordhtml.blogspot.com'></a>
</b:if></b:if>

Finally After Adding Lot of code just click on Save Template button and preview this widget on your blog.

No comments:

Post a Comment