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
- Go To Blogger Dashboard
- Click On Template Tab
- Now Click On Edit HTML>>Proceed.
- 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 == "item"'>
<script type='text/javascript'>
var defaultnoimage="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzXIs73OUUk-_tuanN5R8JYVsBQPu3BsMojH3NSsb89u_63ErAt-5TT3-U0UkVbUMkA5ANnAW0XAgUNyFcXUaCpL5HfRSCgAOwkFGmsXNFZYhH2G2TNb2Hymf6ToI4KJJpJAtKOwnkAzg3/s1600/no_image.jpg";
var maxresults=5;
var splittercolor="#DDDDDD";
var relatedpoststitle="Related Posts";
</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 == "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://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