Displaying the links
to related posts along with a thumbnail of the corresponding post will help you
increase the page views/user .Users will be tempted to go for the related posts
when they are presented attractively with thumbnails as shown in the image
above. Now without any more preface, here we proceed right to the code afters
seeing the awesome features below.
Features:
1.) Simple And
Stylish Code.
2.) Quick To Load And
Easy To Navigate.
3.) One Click Links.
4.) Will Decrease Your
Bounce Rate.
5.) Much Better For
SEO.
6.) It Will Be
Displayed Only On Post Pages.
7.) Awesome And
Professional Look.
8.) Will Also
Increase Your PageViews.
9.) Full Customizable
CSS.
10.) You Can Also
Increase Related Posts Counts.
How
To Add In Blogspot?
1.) Go To Your
www.blogger.com
2.) Open Your Desire
Blog.
3.) Go To
"Template".
4.) Click "Edit
HTML".
5.) Now "Expand
Widget Template".
6.) Click
"CTRL+F" And Search For </head>
7.) Now Copy The
Below Code And Paste It Before It.
<!--Related Posts with
thumbnails Scripts and Styles Start-->
<b:if
cond='data:blog.pageType == "item"'>
<style
type='text/css'>
#related-posts
{float:center;text-transform:none;height:215px;background-color: #f4f4f4;
box-shadow: 0 0 0 1px white inset; -moz-box-shadow: 0 0 0 1px #fff inset;
-webkit-box-shadow: 0 0 0 1px white inset; padding:5px;border: 1px solid
black; }
#related-posts h2{padding:
10px 15px; font-family: Helvetica, Arial; line-height: 1.1em; font-weight:
bold; text-shadow: 0 1px 0 white; font-size: 20px; letter-spacing:
-1px;color:#333; background: #E4E4E4; border: 1px solid
white;width:auto;box-shadow: 0 0 0 1px white inset; -moz-box-shadow: 0 0 0 1px
#fff inset; -webkit-box-shadow: 0 0 0 1px white inset;}
#related-posts
a{color:#D80556;}
#related-posts a:hover
{background-color: #D80556;color: white; font-weight: bold; text-decoration:
initial;}
</style>
<script
type='text/javascript'>
var defaultnoimage=
"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj240hVSWyxfUCiUO1UN7-RDNNo7A2gPMdLMJi6C1dxE03O00PdxYUIdp8O1YzaT33qLt00iRVsXF0TT5uOrfEE8OWMl_8xr794iVB4dz-lKq5-jAgq2QSn0WkDU7Y5V9f3LFNpNqJZu5c/s400/noimage.png";
var maxresults=6;
var
splittercolor="#d4eaf2";
var
relatedpoststitle="Related Posts";
</script>
<script src=http://adminwidget.blogspot.in/files/related_posts_with_thumbnails_min.js'
type='text/javascript'/>
</b:if>
<!--Related Posts with
thumbnails Scripts and Styles End-->
8.) Again Click "CTRL+F" And Search For
<div
class='post-footer-line post-footer-line-2'></div>
<div
class='post-footer-line post-footer-line-3'></div>
</div>
</div>
Now Copy
The Below Code And Paste After It.
<!-- Related Posts with
Thumbnails Code Start-->
<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'/>
</b:if>
<!-- Related Posts with
Thumbnails Code End-->
Saved and done
Customization:
1.) Change 6 With Your Desire Related Post Count.
2.) You Can Change Related Posts With Your Desire Text.
3.) If Your Post Have
No Image, Then A Default Image Will Be Shown, To Change Default Image, Just
Change https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj240hVSWyxfUCiUO1UN7-RDNNo7A2gPMdLMJi6C1dxE03O00PdxYUIdp8O1YzaT33qLt00iRVsXF0TT5uOrfEE8OWMl_8xr794iVB4dz-lKq5-jAgq2QSn0WkDU7Y5V9f3LFNpNqJZu5c/s400/noimage.png
With Your Image URL.
4.) To Change Color,
Size, Fonts, Padding Feel Free To Change CSS Code.
5.) Save And Done.







0 comments:
Post a Comment