Showing posts with label Blogger Widgets. Show all posts

How To Add Auto ‘Read More’ Feature with Thumbnails

Read More
This nice trick will automatically create post summaries with thumbnails. You don't need to add any extra code in every blogger post that you make.

Tutorial Updated : Jan 1, 2013
1.Go to "Template" --> "Edit HTML" of your blog.
2.Click on "Expand Widget Templates"
3.Scroll down to where you see </head> tag.
4.Now add below code just before </head> tag.
<script type='text/javascript'>
summary_noimg = 250;
summary_img = 200;
img_thumb_height = 150;
img_thumb_width = 150; 
</script>
<script type='text/javascript'>
//<![CDATA[

function removeHtmlTag(strx,chop){ 
 if(strx.indexOf("<")!=-1)
 {
  var s = strx.split("<"); 
  for(var i=0;i<s.length;i++){ 
   if(s[i].indexOf(">")!=-1){ 
    s[i] = s[i].substring(s[i].indexOf(">")+1,s[i].length); 
   } 
  } 
  strx =  s.join(""); 
 }
 chop = (chop < strx.length-1) ? chop : strx.length-2; 
 while(strx.charAt(chop-1)!=' ' && strx.indexOf(' ',chop)!=-1) chop++; 
 strx = strx.substring(0,chop-1); 
 return strx+'...'; 
}

function createSummaryAndThumb(pID){
 var div = document.getElementById(pID);
 var imgtag = "";
 var img = div.getElementsByTagName("img");
 var summ = summary_noimg;
 if(img.length>=1) { 
  imgtag = '<span style="float:left; padding:0px 10px 5px 0px;"><img src="'+img[0].src+'" width="'+img_thumb_width+'px" height="'+img_thumb_height+'px"/></span>';
  summ = summary_img;
 }

 var summary = imgtag + '<div>' + removeHtmlTag(div.innerHTML,summ) + '</div>';
 div.innerHTML = summary;
}

//]]>
</script>
Note : You can change below values as your choice.
summary_noimg : number of character to display when there is no image. summary_img : number of character to display when there is an image. img_thumb_height : hight of the post thumbnails. img_thumb_width : width of the post thumbnails.
5.Now Scroll down to where you see this:
<data:post.body/>
6.Replace above code with below code.
<b:if cond='data:blog.pageType != "static_page"'>
<b:if cond='data:blog.pageType != "item"'>
<div expr:id='"summary" + data:post.id'><data:post.body/></div>
<script type='text/javascript'>createSummaryAndThumb("summary<data:post.id/>");</script>
</b:if>
</b:if>
<b:if cond='data:blog.pageType == "item"'><data:post.body/></b:if>

<b:if cond='data:blog.pageType == "static_page"'><data:post.body/></b:if>

<b:if cond='data:blog.pageType != "static_page"'>
<b:if cond='data:blog.pageType != "item"'>
<div style='float:right;margin-right:10px;margin-top:5px;'>
<a expr:href='data:post.url'>Read More</a>
</div>
</b:if>
</b:if>
7.Now save your template and you are done.
Learn more »

How to Add Pocket Read it Later Button in Your Blogger Posts

Providing your users an option to read your articles later is becoming extremely useful. We all are well aware of the fact that tools plays significant role in helping users to save and share our content. These tools extensively impact the probability of return of a visitor. Google+ Buttons, Facebook follow button and Pinterest buttons are used for the same purpose, to encourage users to share and engage with your content. In this article, we will show you how to add read it later button in Your Blogger Posts?

To add a read it later button to your blogger posts, we will be using an online bookmarking tool called Pocket. We will add Pocket read it later buttons with counters, this would provide your readers a convenient way to read your content later anytime, anywhere, everywhere.

Adding Pocket – Read it Later Button in Blogger?

The first thing you need to do is to go to http://getpocket.com/publisher/button and choose the button style that you would like to add on your blog. There are quite a few styles that you can choose according to your needs.
After selecting the button, on the right you can see the live preview of the widget. Whereas on the bottom you see get the code of the widget which you would use to add the Pocket read it later button in blogger. Just Copy the whole code as shown in the screen shot below and proceed to the next step.
Now go to Blogger.com >> Template >> Edit HTML and search for the <data:post.body/> tag and just below it paste the code which you copied a step earlier. However, if you want to add this button at the end of your post then paste the code below this   <div class='post-footer'>.

Congratulations: Once everything is done, simply press the “Save” button and Pocket Read it later button is ready, and good to be live on your website. Now go and check your website to see the Pocket Read it later button in your Bogger posts.

We hope this article has helped you in learning how to add pocket read it later buttons in your blogger posts. Let us know about Pocket, if you are already using it on your website. If anyone has any problem while applying this tutorial then, do not hesitate to leave a comment below.
Learn more »

How to Add a YouTube Subscribe Button in Blogger


 
 
If you are a video blogger who loves to record odd videos and use YouTube to host them on their websites, then you might also prefer adding a YouTube Subscription widget, which would ultimately encourage users to follow you on your official YouTube channel associated with your website.  Recently, one of our users asked us How to Add YouTube Subscribe Button in Blogger? Sometimes you don’t want your users to follow extra instructions to subscribe to your channel, so it is better to put up such widget that subscribes your visitors to your channel with just one click. In this article, we will show you How to Add YouTube Subscribe Button in Blogger.

The first thing you need to do is to go to YouTube Developer’s page. Once the page is completely loaded scroll down to “Configure a button” and fill the text fields with your information. Insert your YouTube Channel URL, eg: /mybloggerlab. After entering the URL, you can customize the appearance or layout of your YouTube Subscription button.

While making changes, you can see the interactive preview on the right. Once you have finished customizing your widget, copy the code present below the “Preview” and paste it anywhere you would like to show on your website.

Now go to Blogger.com >> Add a Gadget >> Add HTML/JavaScript and paste the code in the HTML Text box which you copied a few moments ago. Once everything is done, press “Save” button to complete the process.

Congratulations: You have successfully added YouTube Subscribe Button in Blogger. Now go and check our blog to see the widget in action.

We hope this article have helped you in learning How to add YouTube Subscribe Button in Blogger. Does anyone actively use YouTube.com to upload videos and other interesting stuff? Feel free to share you experience by commenting below.
Learn more »

Popular Posts Widget With Multi Colored Style



To add popular posts widget with multi-color display like the above? Then Just follow our tutorial:
 
First Step:
  1. Login to your Blogger account.
  2.  
  3. Goto template Choose Edit HTML >> Find the code  ]]> </ b: skin>
  4. Copy and paste below code before ]]> </ b:skin> 
  5.  
# PopularPosts1 ul li a: hover {color: # fff; text-decoration: none}
# PopularPosts1 ul li a {-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px; color: # 333333; display: block; font-family: Georgia, 'Times New Roman', Times , serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; margin: 40px 0px 0px 0px; min-height: 30px; orphans: 2; padding: 0px; text-align:-webkit-auto; text-decoration: none! important; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word -spacing: 0px;}
# PopularPosts1 ul li
# PopularPosts1 ul li: first-child: after, # PopularPosts1 ul li: first-child + li: after, # PopularPosts1 ul li: first-child + li + li: after, # PopularPosts1 ul li: first-child + li + li + li: after, # PopularPosts1 ul li: first-child + li + li + li + li: after, # PopularPosts1 ul li: first-child + li + li + li + li + li: after, # PopularPosts1 ul li : first-child + li + li + li + li + li + li: after, # PopularPosts1 ul li: first-child + li + li + li + li + li + li + li: after, # PopularPosts1 ul li: first -child + li + li + li + li + li + li + li + li: after, # PopularPosts1 ul li: first-child + li + li + li + li + li + li + li + li + li: after { position: absolute; top: 10px; right: 5px; border-radius: 50%; border: 2px solid # ccc; background: # 353535;-webkit-box-shadow: 0px 0px 5px # 000;-moz-box-shadow : 0px 0px 5px # 000; width: 30px; height: 30px; line-height: 1em; text-align: center; font-size: 28px; color: # fff} # PopularPosts1 ul li: first-child + li + li + li + li + li + li + li {background: # DF01D7; width: 90%}
# PopularPosts1 ul li: first-child + li + li + li + li + li + li + li: after {content: "8"} # PopularPosts1 ul li: first-child + li + li + li + li + li + + + li li li {background: # B041FF; width: 90%} # PopularPosts1 ul li: first-child + li + li + li + li + li + li + li + li: after {content: "9"} # PopularPosts1 ul li: first-child + li + li + li + li + li + li + li + li + li {background: # F52887; width: 90%} # PopularPosts1 ul li: first-child + li + li + li + li + li + li + li + li + li: after {content: "10"} # PopularPosts1 ul li: first-child + li + li + li + li + li {background: # 7ee3c7; width: 90%} # PopularPosts1 ul li: first-child + li + li + li + li + li: after {content: "6"} # PopularPosts1 ul li: first-child + li + li + li + li + li + li {background: # f6993d; width: 90%} # PopularPosts1 ul li: first-child + li + li + li + li + li + li: after {content: "7"} # PopularPosts1 ul li: first-child + li + li + li + li {background: # 33c9f7; width: 90%} # PopularPosts1 ul li: first-child + li + li + li + li: after {content: "5"} # PopularPosts1 ul li: first-child + li + li + li {background: # c7f25f; width: 90%} # PopularPosts1 ul li: first-child + li + li + li: after {content: "4"} # PopularPosts1 ul li: first-child + li + li { background: # ffde4c; width: 90%} # PopularPosts1 ul li: first-child + li + li: after {content: "3"} # PopularPosts1 ul li: first-child + li {background: # ff764c; width: 90 %} # PopularPosts1 ul li: first-child + li: after {content: "2"} # PopularPosts1 ul li: first-child {background: # ff4c54; width: 90%} # PopularPosts1 ul li: first-child: after {content: "1"} # PopularPosts1 ul {margin: 0; padding: 0px 0; list-style-type: none} # PopularPosts1 ul li {position: relative; margin: 6px 0; border-radius: 25px 25px 0px 0px ; border: 2px solid # f7f7f7;-webkit-box-shadow: 3px 3px 3px # 000;-moz-box-shadow: 3px 3px 3px # 000; padding: 10px}
  
Then save it.
 
Second Step:
  1. Goto Layout >> Then select add gadget>>Then Select Popular Posts Widget >> uncheck image thumbnails and captions, select how many posts you want to display.
  2.  
  3. Save It and see the results!
Learn more »

Create Cool Social Profile Widget: Metro UI


                                   This widget named Metro UI by designernya Vinay Prajapati .


FEATURES:

7 includes social networking the most often used  Hover effect and elegant design, Very neat and clean No JavaScript, No Jquery, purely with CSS

To install this widget in your blog is very easy, good blog with flatfrom blogger, wordpress or other blogging services which CSS styles and HTML is accepted on the widget or template. You just need to add the code gadget / widget in the HTML / JavaScript.

Step by step for bloggers
 
  • Login menu on the dashboard >> Layout >> Add a Gadget >> Select the HTML / JavaScript
  • Copy and paste the following code in the content column 

 <div class='metro-social'>
 <li> <a class="fb" href=http://www.facebook.com/YOUR Facebook ID rel="nofollow"> </ a> </ li>
 <li> <a class="tw" href=http://twitter.com/YOUR Twitter ID</ a> </ li>
 <li> <a class="gp" href="https://plus.google.com/YOUR GOOGLE + ID "> </ a> </ li>
 <li> <a class="pi" href=http://pinterest.com/YOUR Pinterest ID rel="nofollow"> </ a> </ li>
 <li> <a class="in" href=https://www.linkedin.com/in/YOUR Linkedin ID rel="nofollow"> </ a> </ li>
 <li> <a class="yt" href=http://www.youtube.com/YOUR Youtube ID </ a> </ li>
 <li> <a class="fd" href=http://feeds.feedburner.com/YOUR Feedburner ID rel="nofollow"> </ a> </ li>
 </ Div>
 <style>
 . Metro-social {width: 285px}
 . Metro-social li {position: relative; cursor: pointer; padding: 0; list-style: none}
 . Metro-social. Fb,. Tw,. Gp,. Pi,. In,. Yt,. Fd {z-index: 7; float: left; margin: 1px; position: relative; display: block}
 . Metro-social. Fb {background: url (/ / goo.gl/6xmUk) no-repeat center center # 1f69b3; width: 140px; height: 141px}
 . Metro-social. Tw {background: url (/ / goo.gl / oyiFK) no-repeat center center # 43b3e5; width: 68px; height: 70px}
 . Metro-social. Gp {width: 69px; height: 70px; background: url (/ / goo.gl/oT0kF) no-repeat center center} # da4a38
 . Metro-social. Pi {background: url (/ / goo.gl/7olxx) no-repeat center center # d73532; width: 68px; height: 69px}
 . Metro-social. In {background: url (/ / goo.gl / PhFhj) no-repeat center center # 0097bd; width: 69px; height: 69px}
 . Metro-social. Yt {background: url (/ / goo.gl / zcwjB) no-repeat center center # e64a41; width: 140px; height: 69px}
 . Metro-social. Fd {background: url (/ / goo.gl/lhBP1) no-repeat center center # e9a01c; width: 140px; height: 69px}
 . Metro-social li: hover. Fb {background: url (/ / goo.gl/MH8AP) no-repeat center center} # 1f69b3
 . Metro-social li: hover. Tw {background: url (/ / goo.gl / hHRHv) no-repeat center center} # 43b3e5
 . Metro-social li: hover. Gp {background: url (/ / goo.gl/wva4B) no-repeat center center} # da4a38
 . Metro-social li: hover. Pi {background: url (/ / goo.gl / IORvy) no-repeat center center # d73532}
 . Metro-social li: hover. In {background: url (/ / goo.gl/2zHrm) no-repeat center center} # 0097bd
 . Metro-social li: hover. Yt {background: url (/ / goo.gl/I1c4a) no-repeat center center} # e64a41
 . Metro-social li: hover. Fd {background: url (/ / goo.gl / CjzDP) no-repeat center center} # e9a01c
 </ Style> 


Then Save it. That's all see the Result.  


Learn more »

Add Related Posts Without Thumbnail For Blogger

Link within widget to show related posts below every blogger posts is quite popular and useful. But however, there are not every posts that has at least one image in it. Thus, showing related posts with thumbnails may not be chosen by most blogger who in fact may choose to show related posts without thumbnails below blogger posts. If you are interested to show your visitors your blogs related posts without any thumbnail, then lets just do it.

Related Posts Without Thumbnail in Blogger


Step one: Go to Template >> Edit HTML

Step two: Press Ctrl+f Then find </head> and just above it paste the code below.


<style>
#related-postz { float: left; width: 100%; margin-top: 20px; margin-bottom: 20px; margin-left: 5px; line-height: 25px; font-weight: bold; font: 18px Arial,sans-serif; margin-bottom: 10px; }
#related-postz .widget { list-style-type : none; margin : 5px 0 5px 0; padding : 0; }
#related-postz .widget h2, #related-posts h2 {
font-size: 0.7em;
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-postz a { text-decoration : none; }
#related-postz a:hover { text-decoration : underline; }
#related-postz ul { border : medium none; margin : 10px; padding : 0; }
#related-postz ul li {
display : block;
background : url(&quot;http://www.netanimations.net/red-arrow-right.GIF&quot;) no-repeat 0 0;
padding-left : 21px;
padding-bottom : 1px;
margin-bottom : 5px;
line-height : 2em;
border-bottom:1px dotted #cccccc;
font-size: 0.7em;
font-weight: bold;
color: black;
font-family: Georgia, &#8220;Times New Roman&#8221;, Times, serif;
margin-bottom: 0.75em;
} </style>
<script src='http://blogfilez.googlecode.com/files/related.js' type='text/javascript'/>

Step three: Now again, find <data:post.body/> and just below it, paste the following code.



<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div id='related-postz'>
<font face='Verdana' size='4'><b>Related Posts:</b></font>
<b:loop values='data:post.labels' var='label'><b:if cond='data:blog.pageType == &quot;item&quot;'>
<script expr:src='&quot;/feeds/posts/default/-/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=related_results_labels&amp;max-results=5&quot;' type='text/javascript'/></b:if></b:loop>
<script type='text/javascript'> removeRelatedDuplicates(); printRelatedLabels();
</script>
<div align='right' style='font-size:11px'><a href='http://qasimple.blogspot.com/2013/08/add-related-posts-without-thumbnail-for.html'>Related Posts for blogger</a></div></div>
</b:if>

Step four: Now click on Save Template and Enjoy!

Are you happy with this post? If you are not happy or facing any kind of difficulties please leave a comment and share with me i will guide you. Stay tuned and good luck!

Disclaimer: There are many different styles in different blogs' template. So having difficulties to fit this widget in your blog perfectly. But if you are facing any kind of problems, then please leave a comment below. I will help you for sure!
Learn more »

Add HTML Box to your Blogger Blog Post

Am sharing with you today how to add HTML box in your blogger blog post, you have to focus for you to get this simple tricks. I dont know maybe you have tried to add a html code to your post which it eventually exceed your computer screen, if you are a victim of this, then you have to worry no more, because am going to break down the secrete behind this trick to you.

Let's get started :

when you are creating a new post and you about to paste a html code to your post, check beside compose tab at the top of your new post box, click Edit HTML.
Paste the code in the box below in your Edit HTML tab, now go back to compose, you should find the html box in your compose tab, fill in the html code you want paste.

If you want to use a box with border as shown below, use the code in the box below.


<div style="font: 16px/26px durodola, ridwan, olabode; height: 120px; overflow: scroll; width: 500px;border:3px solid black;">
Enter your text here</div>
<div style="font-family: verdana,arial,sans-serif; font-size: 10px;">
<a href="http://qasimple.blogspot.in/">qasimple</a></div>


If you want a box without a border as shown below, use the code in the box below.

<div style="font: 16px/26px durodola, ridwan, olabode; height: 120px; overflow: scroll; width: 500px;">
Enter your text here</div>
<div style="font-family: verdana,arial,sans-serif; font-size: 10px;">
<a href="http://qasimple.blogspot.in/">qasimple</a></div>
Note: Both the code highlighted in Blue can be change to your desired height and width. If you really love this or having problem with it drop a comment, please share this with friends using the share button below. In my future future post i will be dropping a lot of tricks which you can use to spice up your html box and look more professional, so for you not to miss any of this offer, subscribe to this blog now, and receive a lot of tricks/tips/tutorials directly into your email.

Hope you enjoy this articles? take few seconds to share it and subscribe for our latest posts update.
Learn more »

How to add lazy load plug-in to load your blog faster


Blog Page speed is a biggest factor to hold visitors in your site. Everyday huge visitors surfing many blogs but if they found higher loading time and containing heavy image then it takes longer time to load a blog or website. Page speed not only an important factor for visitors but also it is a biggest factor for search engine and Page rank. Earlier Page loading time was not a big issue but Google is giving importance on it. Even if you are AdSense user then you would see on AdSense Score card about Page Speed Score. If your score is low then it will give alert to improve your page loading time.  Currently my page speed score is very poor due to heave design so I am also trying to improve it.

We know a blog with high quality Graphics make slower in loading. Sometime a blog become unresponsive and your visitors may leave your blog. Even I am experiencing the same problem in my blog because I have emphasize on Design rather than loading speed. Recently trying to overcome from this problem. And I think only lazy load plug-in  can solve this problem. Though many blogger has given argument against this but to hold your visitors for longer time you must adopt various techniques.
This plug-in will work like magic even if your blog has many high contrast images. When you would enter into blog landing page and scroll down to bottom then your blog images will load part by part. For this reason it won't give any pressure on your internet connection. On the other hand your heavy loading image will be load easily within slower internet connection.

Step 1 Log in to your Blogger account and Go to your Blogger Dashboard
Step 2 Click on  Now click on -> Template -> Edit HTML-> Unfold code  

Step 3 Now Find this code </Head> by pressing Ctrl + F

Step 4 Copy the code from below and Paste it  Before/above </Head> 
<!-- lazy load start -->
<script type='text/javascript'>//<![CDATA[
(function(a){a.fn.lazyload=function(b){var c={threshold:0,failurelimit:0,event:"scroll",effect:"show",container:window};if(b){a.extend(c,b)}var d=this;if("scroll"==c.event){a(c.container).bind("scroll",function(b){var e=0;d.each(function(){if(a.abovethetop(this,c)||a.leftofbegin(this,c)){}else if(!a.belowthefold(this,c)&&!a.rightoffold(this,c)){a(this).trigger("appear")}else{if(e++>c.failurelimit){return false}}});var f=a.grep(d,function(a){return!a.loaded});d=a(f)})}this.each(function(){var b=this;if(undefined==a(b).attr("original")){a(b).attr("original",a(b).attr("src"))}if("scroll"!=c.event||undefined==a(b).attr("src")||c.placeholder==a(b).attr("src")||a.abovethetop(b,c)||a.leftofbegin(b,c)||a.belowthefold(b,c)||a.rightoffold(b,c)){if(c.placeholder){a(b).attr("src",c.placeholder)}else{a(b).removeAttr("src")}b.loaded=false}else{b.loaded=true}a(b).one("appear",function(){if(!this.loaded){a("<img />").bind("load",function(){a(b).hide().attr("src",a(b).attr("original"))[c.effect](c.effectspeed);b.loaded=true}).attr("src",a(b).attr("original"))}});if("scroll"!=c.event){a(b).bind(c.event,function(c){if(!b.loaded){a(b).trigger("appear")}})}});a(c.container).trigger(c.event);return this};a.belowthefold=function(b,c){if(c.container===undefined||c.container===window){var d=a(window).height()+a(window).scrollTop()}else{var d=a(c.container).offset().top+a(c.container).height()}return d<=a(b).offset().top-c.threshold};a.rightoffold=function(b,c){if(c.container===undefined||c.container===window){var d=a(window).width()+a(window).scrollLeft()}else{var d=a(c.container).offset().left+a(c.container).width()}return d<=a(b).offset().left-c.threshold};a.abovethetop=function(b,c){if(c.container===undefined||c.container===window){var d=a(window).scrollTop()}else{var d=a(c.container).offset().top}return d>=a(b).offset().top+c.threshold+a(b).height()};a.leftofbegin=function(b,c){if(c.container===undefined||c.container===window){var d=a(window).scrollLeft()}else{var d=a(c.container).offset().left}return d>=a(b).offset().left+c.threshold+a(b).width()};a.extend(a.expr[":"],{"below-the-fold":"$.belowthefold(a, {threshold : 0, container: window})","above-the-fold":"!$.belowthefold(a, {threshold : 0, container: window})","right-of-fold":"$.rightoffold(a, {threshold : 0, container: window})","left-of-fold":"!$.rightoffold(a, {threshold : 0, container: window})"})})(jQuery);$(function(){$("img").lazyload({placeholder:"http://i22.servimg.com/u/f22/15/42/72/40/grey10.gif",effect:"fadeIn",threshold:"-50"})})//]]></script>
<!-- lazy load end  -->
Step 5 Now hit the Save Button
Hope this Plug-in will help you to make your website faster and you would gain more visitors which would engage longer time. If you face any problem then feel free to leave a comment below.
Learn more »

How to center any Blogger widget


In this tutorial you'll find out how to center any widget in your Blogger template.

There can be a number of ways to center widgets, below are a selection of options to try with your template.


The codes below can be used to align your custom or third party widgets to the center via Blogger Dashboard > Layout > Add Gadget > HTML/Java Scripts
Option one
<div align="center">Your Widget Code</div>
Option two
<center>Your Widget Code</center>
Option three
<p align="center">Your Widget Code</p>
Simply replace the text in blue with your widget code.

Add the CSS rule to all widgets

The CSS rule below will center all widgets on your blog.  Go to your Blogger dashboard > Template Customise > Advanced > Add CSS and apply to blog.
.widget {text-align: center;}
The CSS rule below will center any one of your widgets.  Replace the text in blue with the widget ID.  Go to your Blogger dashboard > Template Customise > Advanced > Add CSS and apply to blog.
#Your-widget-ID {text-align: center;}

That's It You're done.
Qasimple Tip For  How to find widget ID?
Learn more »

How To Add Related Posts Widget For Blogger Blogspot

It's nice sharing with you this smart looking related blogger post widget. This widget is has been around for quite sometimes now. Knowing too well that you might have come across this widget either on Blogger or Wordpress platform but it happened that you don't really know the useful of it. The usefulness of this blogger related posts widget is undeniably, due to the fact that it helps in keeping your blog's visitors stay for a longer time than usual, which in-turn decreases the blog's bounce rate and consequently boost your page-views day-by-day. This widget is so important for we bloggers, and it's not difficult to add to our blog.

How To Install This Widget On Your Blog?

1. Go to Blogger Dashboard => Template => Edit HTML

2. Click "Format Template" (this option expands the template)

3. Click anyway inside the blogger template Editor and press Ctrl F and type <data:post.body/> in the search box provided and hit enter button in your computer.
4. Paste the below code immediately after <data:post.body/>

 <!--related post started-->
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div class='similiar'>
<div class='widget-content'>
<h2>Related post</h2>
<div id='data2007'/><br/><br/>
<script type='text/javascript'>
var homeUrl3 = &quot;<data:blog.homepageUrl/>&quot;;
var maxNumberOfPostsPerLabel = 5;
var maxNumberOfLabels = 3;
maxNumberOfPostsPerLabel = 5;
maxNumberOfLabels = 3;
function listEntries10(json) {
var ul = document.createElement(&#39;ul&#39;);
var maxPosts = (json.feed.entry.length &lt;= maxNumberOfPostsPerLabel) ?
json.feed.entry.length : maxNumberOfPostsPerLabel;
for (var i = 0; i &lt; maxPosts; i++) {
var entry = json.feed.entry[i];
var alturl;
for (var k = 0; k &lt; entry.link.length; k++) {
if (entry.link[k].rel == &#39;alternate&#39;) {
alturl = entry.link[k].href;
break;
}
}
var li = document.createElement(&#39;li&#39;);
var a = document.createElement(&#39;a&#39;);
a.href = alturl;
if(a.href!=location.href) {
var txt = document.createTextNode(entry.title.$t);
a.appendChild(txt);
li.appendChild(a);
ul.appendChild(li);
}
}
<!--BlogStable.com-->
for (var l = 0; l &lt; json.feed.link.length; l++) {
if (json.feed.link[l].rel == &#39;alternate&#39;) {
var raw = json.feed.link[l].href;
var label = raw.substr(homeUrl3.length+13);
var k;
for (k=0; k&lt;20; k++) label = label.replace(&quot;%20&quot;, &quot; &quot;);
var txt = document.createTextNode(label);
var h = document.createElement(&#39;b&#39;);
h.appendChild(txt);
var div1 = document.createElement(&#39;div&#39;);
div1.appendChild(h);
div1.appendChild(ul);
document.getElementById(&#39;data2007&#39;).appendChild(div1);
}
}
}
function search10(query, label) {
var script = document.createElement(&#39;script&#39;);
script.setAttribute(&#39;src&#39;, query + &#39;feeds/posts/default/-/&#39;
+ label +
&#39;?alt=json-in-script&amp;callback=listEntries10&#39;);
script.setAttribute(&#39;type&#39;, &#39;text/javascript&#39;);
document.documentElement.firstChild.appendChild(script);
}
var labelArray = new Array();
var numLabel = 0;
<b:loop values='data:posts' var='post'>
<b:loop values='data:post.labels' var='label'>
textLabel = &quot;<data:label.name/>&quot;;
var test = 0;
for (var i = 0; i &lt; labelArray.length; i++)
if (labelArray[i] == textLabel) test = 1;
if (test == 0) {
labelArray.push(textLabel);
var maxLabels = (labelArray.length &lt;= maxNumberOfLabels) ?
labelArray.length : maxNumberOfLabels;
if (numLabel &lt; maxLabels) {
search10(homeUrl3, textLabel);
numLabel++;
}
}
</b:loop>
</b:loop>
</script>
</div>
</div>
</b:if>
<!--related post end-->
You can also add some customization to these blogger posts related widget.
  • To add the numbers of post displayed, change the value of maxNumberOfLabels =3,
  • To add more labels, change the value of maxNumberOfPostsPerLabel =5;
5. Click on the Save Template button just at the top left of the blogger template Editor.


6. That's all.

If you have any difficulties in adding these blogger related post widget to your blog, kindly post your query via comment.
If you find these tutorial a bit useful consider sharing to your friends on social media sites like, facebook, twitter, stumbleupon and digg.
You don't want to miss our future posts? Subscribe below for our daily updates! Happy blogging.

Learn more »

5 Best Email Subscription Widgets for Blogger 2013


An Email Subscription Widget is a must for every blog and a beautiful subscription box placed in the correct place can help you get more people subscribing to your blog and this list of best Email subscription widgets can serve that purpose.


  1. 1.Pop Up Email Subscription Widget for Blogger
email subscription for blogger


   2.  Slide out Email Subscription Widget for Blogger

email subscription box for blogger






 3.  Modern Email Subscription Widget for Blogger

email subscription widget for blogger


4.  Wordpress Style Email Subscription Widget for Blogger

wordpress style email subscription widget for blogger


5.  Cool Email Subscription Widget for Blogger

email subscription box for blogger
Learn more »

Tumblr Style Scroll Button for Blogger


I've learned a boatload of new tricks. The first one is this handy scroll button, like the ones seen on many Tumblr sites.


Here's how to do it:

As always, make sure you've backed up your template before you start.


Backup

Go to your dashboard, and in the left menu, Click: Template

In the top right of your screen, Click: Backup / Restore

In the pop-up window, Click: Download full template

Save the file somewhere safe.

Click: Close

Now we are ready to proceed.

Install

 

You should still be in the Template page, so go ahead and click on the Edit HTML button.

In the pop-up window that appears, click on Proceed.

There are three pieces of code we need to add:

First the jQuery library:

 

Important! Skip this step if you have previously installed jQuery for another widget.

Otherwise:

Do a CTRL-F and search for your closing </head> tag

1
</head>

And paste in the following single line of code directly in front of it:

1

Next the CSS:

 

Do a CTRL-F and search for your closing </b:skin> tag

1
]]></b:skin>

And paste in the following code directly in front of it:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#scroll-top {
    background-color: #777777;
    border-radius: 24px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8) inset;
    color: #FFFFFF;
    cursor: pointer;
    display: block;
    font-family: Verdana;
    font-size: 2em;
    font-weight: bold;
    line-height: 2em;
    text-align: center;
    text-decoration: none;
    position:fixed;
    width: 48px;
    height: 48px;
    bottom:30px;
    right:20px;
    opacity:0.85;
    transition:opacity 0.25s ease 0s;
}
  
#scroll-top:hover{
    opacity: 1;
    color: #FFFFFF;
}
  
Note: Be sure to leave an empty line in between the code and the closing tag.


Feel free to adjust the styling any way you want.

You'll likely want to change the background-color and color properties to match your blog's color scheme.

You might also want to reduce the border-radius for a more square button.

You can also change the font-family, font-size, and line-height properties to adjust how the caret looks.


Finally the JavaScript and HTML:

 

Do a CTRL-F and search for your closing </body> tag

1
</body>

And paste in the following code directly in front of it:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<script type='text/javascript'>
$(function() {
    $.fn.scrolltoTop = function() {
        var scrollLink = $(this),
            win = $(window);
        scrollLink.hide();
        if (win.scrollTop() != '0'){
            scrollLink.fadeIn('slow')
        }
        win.scroll(function() {
            if (win.scrollTop() == '0'){
                scrollLink.fadeOut('slow')
            }
            else{
                scrollLink.fadeIn('slow')
            }
        });
        scrollLink.click(function() {
            $('html, body').animate({
                scrollTop: 0
            }, 'slow')
        })
    }  
});
$(function() {
    $('#scroll-top').scrolltoTop();
});
</script>
<a id='scroll-top' href='#' title='Scroll to top'>^</a>

And that's it.


Learn more »

How to Add Drop Shadows Effect to Images


With drop shadows effect to images, our blog images will given a kind of shadow which will surround beside the images. So, the images will look attractive. This effect is active when you put your cursor on the picture, then the picture will expand and there are drop shadows effect. For additional info, drop shadows effect is used CSS (CSS 3), so your blog is not too heavy. Now, if you want to know how to add drop shadows effect to images, just follow the steps below.

1. Log in to your blogger account

2. Go to Design --> Edit HTML

3. Copy the code below, and paste above ]]></b:skin>


.MBT-CSS3 img{
-webkit-transform:scale(0.7); /*Webkit 0.7 times the original Image size*/
-moz-transform:scale(0.7); /*Mozilla 0.7 times the original Image size*/
-o-transform:scale(0.7); /*Opera 0.7 times the original Image size*/
-webkit-transition-duration: 0.5s; /*Webkit: Animation duration*/
-moz-transition-duration: 0.5s; /*Mozilla Animation duration*/
-o-transition-duration: 0.5s; /*Opera Animation duration*/
opacity: 0.5;
margin: 0 10px 5px 0;
}

.MBT-CSS3 img:hover{
-webkit-transform:scale(1.1); /*Webkit: 0.5 times the original Image size*/
-moz-transform:scale(1.1); /*Mozilla 0.5 times the original Image size*/
-o-transform:scale(1.1); /*Opera 0.5 times the original Image size*/
box-shadow:0px 0px 30px gray;
-webkit-box-shadow:0px 0px 30px gray;
-moz-box-shadow:0px 0px 30px gray;
opacity: 1;
}

4. Then, when you will use drop shadow effects to images, use this code
<div class="MBT-CSS3">
<img src="IMAGE URL" />
</div>

=> Change IMAGE URL with your image URL choice

5. Done!
Learn more »

Add Floating Spoiler Menu


Hi, guys! Now, we will try to add floating spoiler menu. This spoiler menu is difference with others. We don't need to click the button to display the menu. Just put your cursor on this menu, and the menu wil be slide out.Now, if you wanna add floating spoiler menu into your blog, just follow the steps below.

1. Log in to your blogger account

2. Go to Design --> Page Elements --> Add Gadget

3. Chose "HTML/Java Script"

4. Add the code below


<style text-type="CSS">
#bmenu{
position:fixed;
right:5px; center:0px;
background-color:#000;
border-radius:10px;
-moz-border-radius:10px;
border:1px solid #FFF;
width:202px;
height:20px;
color:#FF0606;
transition:all .5s ease-in;-moz-transition:all .5s ease-in;-webkit-transition:all .5s ease-in;-o-transition:all .5s ease-in;z-index:3;overflow:hidden;padding:9px 15px 10px;}

#bmenu h3{
margin:0;
padding:0;
text-align:center;
cursor:pointer;}

#bmenu ul{
border-radius:10px;-moz-border-radius:10px;
border:2px solid #FFf;
background-color:#FF0606;
margin:15px 0;
padding:0 15px;}

#bmenu li{list-style:none;margin:0 0 5px;padding:0;} #bmenu li a{
color:#000;
text-decoration:none;
font-size:14px;}

#bmenu li a:hover{
color:#fff;}

#bmenu:hover{
z-index:5;
height:175px;
</style>

<div id="bmenu">
<h3>
TITLE</h3>
<ul>
<li><a href="#">FBT-1</a></li>
<li><a href="#">FBT-2</a></li>
<li><a href="#">FBT-3</a></li>
<li><a href="#">FBT-4</a></li>
<li><a href="#">FBT-5</a></li>
</ul>
</div>
Customize:
=> The position of floating spoiler menu
=> The title of this menu
=> The title and link location

5. Click SAVE
Learn more »

Animated Label with jQuery


Did you know, jQuery Link Nudging? Now we will add jQuery Link Nudging in Label. What is the effect? So, when you put your cursor on one of the label, the label will be move to the right. The  You can try in this page (Try on "Labels"). Looks nice right? Now, if you wanna try Animated Label with jQuery, just follow the steps below.

1. Log in to your blogger account

2. Go to Design --> Edit HTML

3. Copy the code below, and paste above </head>


<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js' type='text/javascript'>
</script>
<script type='text/javascript'>
var dur = 450;
$(document).ready(function() {
$('a.linknudge, .Label ul li a').hover(function() {
$(this).animate({
paddingLeft: '20px'
}, dur);
}, function() {
$(this).animate({
paddingLeft: 0
}, dur);
});
});</script>

4. Click

So easy right, to add Animated Label with jQuery?
Learn more »