0
This is very interesting and very important trick for your blog.It allows user to find related post easily without any problem.It also boost your page views.Another advantage of it is that it help visitors to stay on your blog for long time by clicking on related posts.And they will view your interesting related posts.Its too easy all you have to do is to follow the steps given below.



*Login to your blog.
*Click on blogger dashboard and then click on templates.
*Now click on Edit HTML.
*Press (CTRL+F).
*Now search for </head>
*Now Copy the code given below.
*And Paste it above </head> Tag.

<!--Related Posts with thumbnails Scripts and Styles Start--> <!-- remove --><b:if cond='data:blog.pageType == &quot;item&quot;'> <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: 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; } </style> <script type='text/javascript'> var defaultnoimage=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMJ4sJIUN8MOcvM6LWR8DVSkrhYVoIHAOZF4gLTMs41aut44PgpAnnfylwUPjBVv5wdfL3YCngfkhG5FG7XypH3FRVVN0WTT5pdAMGPWYOdnfRoj5a08u3E235vfPggB8jaKaXO9Tr_ayZ/s1600/no_image.jpg&quot;; var maxresults=4; 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'/> <!-- remove --></b:if> <!--Related Posts with thumbnails Scripts and Styles End-->

*If you want to increase or decrease your number of post from 4 or more/less then you can change the value of var maxresults=4 to your desire number of value.
*If you want to display the Widget also on your home page then remove the orange script from the above code.

*Now search for the script given below.

<div class='post-footer'>

Note:The above script that is <div class='post-footer'> is 2 time in blogger templates.So please copy the code given below and paste it after each script that is <div class='post-footer'>

*Here is the code.

<!-- Related Posts with Thumbnails Code Start--> <!-- remove --><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=4&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://counterstriq.blogspot.com'><img alt='Blogger Tricks' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-MyIJek1euBt808heVU1Ip4gvc1CSJXA4BXMhQlKSROXVywMUzxQla5GF6T_vmVMwUEhy8rS5GkG6LyDlHsFRngmgX8ZTLcHH3Vl-TzryPLP57qRI_KPXsEWQ0Axcw9kfFhhy3Vfce21H/s1600/best+blogger+tips.png'/></a> </b:if></b:if> <!-- Related Posts with Thumbnails Code End-->

*Please change the name written in green with your blog name.
*If you want to display the related posts more than 4 then change the number of posts from 4 to your desire number of post.(Written in the script in red)
*Similarly if you want to show the related post widget on your home page then remove the orange script in the code.
*Now save the template and enjoy it.
*Please like.share and comments.Thanks.



Post a Comment

 
Top