Ads 468x60px

Friday, 5 April 2013

You Might Also Like Widget By Editing HTML: Blogger

 If you want to keep your visitor on your blog then this widget is really a good idea. 
Although I already teach you how can you add it to your blogger with LinkWithin. You can read it from below. 

But this time we will not use any third party service to do this. 
We will just edit our HTML Code. It is far better from using LinkWithin. Now lets see how can you add this on your blog. 
Adding You May Also Like Widget To Your Blog
  • Go to your blog
  • Select template and then edit html
  • Search the following code
  • Add the following code just above/before </head>
<!--Related Posts with thumbnails Scripts and Styles Start by All Tech Story-->
<!-- remove --><b:if cond='data:blog.pageType == &quot;item&quot;'>
<style type="text/css">
#related-posts {

#related-posts h2{
font-size: 1.6em;
font-weight: bold;
color: black;
font-family: Georgia, &#8220;Times New Roman&#8221;, Times, serif;
margin-bottom: 0.75em;
margin-top: 0em;
padding-top: 0em;
#related-posts a{
#related-posts a:hover{

#related-posts  a:hover {
<script type='text/javascript'>
var defaultnoimage="";
var maxresults=5;
var splittercolor="#d4eaf2";
var relatedpoststitle="You May Also Like:";
<script src='' type='text/javascript'/>
<!-- remove --></b:if>
<!--Related Posts with thumbnails Scripts and Styles by All Tech StoryEnd-->
  • Now search for the following code
<div class='post-footer-line post-footer-line-1'>
  • Add the following just after the code
<!-- Related Posts with Thumbnails Code Start-->
<!-- 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"'>
<script expr:src='"/feeds/posts/default/-/" + + "?alt=json-in-script&amp;callback=related_results_labels_thumbs&amp;max-results=6"' type='text/javascript'/></b:loop>
<script type='text/javascript'>
</div><div style='clear:both'/>
<a href="" target="_blank"><b>Grab This Widget</b></a>
<!-- remove --></b:if>
<!-- Related Posts with Thumbnails Code End-->
  • Save your template
Customizing the widget
Look on the orange text in the first code
  • You can change the default image URL with your own
  • You can change the max number of results by changing the variable max results
  • You can change the color
  • You can change the title by changing You May Also Like
If you want to change more you will have to modify the CSS in the code. 
Things To Remember
  • Don't forget to take a backup of your current template. 
  • Don't forget to share if you liked the post. 
Share if you liked this Post using your favorite sharing service:

Subscribe Updates, Its FREE!

Related Posts Plugin for WordPress, Blogger...