Related post widget with thumbnails is a
good widget all bloggers ought to have on their blog since it increases
page views & readership while your blog traffic bounce rate will
decrease gradually.
This widget will show beneath every post(s) on your blog. Go through
the steps below to make this widget work on your blogger blog.
2.Paste the code below before the closing </head> tag.
3.Now find any of this code in your template:
Now immediately after any of these lines (whichever you could find) place the code snippet below
4. Now Save your template.
2. To Edit the title of the widget, change the following line of code.
That’s all.
Related Posts Widget with Thumbnails for Blogger
1.Log in to your Blogger Dashboard and Navigate to Template. Then use (CTRL+F) to find</head>
in your templates.2.Paste the code below before the closing </head> tag.
<!--Related Posts with thumbnails Scripts www.justnaira.com-->
<!-- 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/AVvXsEiEK9nzp-SMayVcm9EIU1mXngi3h7Dk2eKhr7IVduzmv9ivBzevoK2PgZv5O35lAqI2fO6MH-JslapN4ZscKEixmvzF6G2yI47ixdoJfUNTuO2zQm8rv5l2V6Z86I5pO_e1pI7nf49cJCKI/s1600/no+Image+1.png";
var maxresults=5;
var splittercolor="#d4eaf2";
var relatedpoststitle="Related Posts";
</script>
<script
src='http://olusegun-fapohunda-calculator.googlecode.com/svn/wiki/related-post-with-thumbnails.js'
type='text/javascript'/>
<!-- remove --></b:if>
<!--Related Posts with thumbnails Scripts www.justnaira.com-->
<div class='post-footer-line post-footer-line-1'/>
or
<div class='footer'>
<!-- Related Posts with Thumbnails Code Start www.justnaira.com-->
<!-- 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=5"'
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.justnaira.com/2012/07/how-to-add-related-post-widget-with.html'><img
style="border: 0" alt="Related Posts Widget For Blogger with
Thumbnails"
src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFqvU10zPziK_q0x9NASh9tV_j39aKGdzKV1Lj8MVHRCah73C_gzoUbg_vC96aeqWtYgJyKWCtLo-shxlNhNroMd42h2aiWDDEZBjxqxIbOOFosWFOHaB3errFYpM3SJODD5eBWdLRWIWU/s1600/blogger-widgets.png"
/></a><a href='http://www.justnaira.com' ><img
style="border: 0" alt="Blogger Templates"
src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiijrZC5u6oHltRc_-yy9wvRtwpAOx9Jlswa17sl2xQFENT2unKPBDUhkjgOG-XycKzI_Xj31gxLOJoYChoNzvXPKz7R_2q0DscNIEo9aPfhlYINO-9a07UuwHnKmWNlyRu-_qcyO3KLsPL/s1600/blogger-templates.png"
/></a>
</b:if></b:if>
<!-- Related Posts with Thumbnails Code End www.justnaira.com-->
Widget Configuration
1. To change the total no of posts displayed in your blog posts, Edit the following line of code.var maxresults=5;
var relatedpoststitle="Related Posts";
0 comments:
Post a Comment