Tuesday, 10 June 2014

How to Add Stylish Facebook PopUp Like Box For Blogger



Here is again about the Facebook Pop Up like box after the Twitter Bird post. As i said in my previous post is that social media traffic is very important for any site to rank in the search engines by doing some seo strategies. It also shows the populatiy of the site. If a site is getting so much traffic from the Social media sites like Facebook than it will get popular on that site and also on the search engines. Search Engines will better rank your site and it results in the increase the traffic of your site.

There are different widgets for Facebook like Facebook like Box on the side bar, etc. The main advantage of this Pop Up like box is that it will increase your blog's Facebook Page likes. And when you have much likes than more people will access to your post when you share the post of your blog on Facebook page. If your blog contains some unique and attractive articles than this widget will help you so much. Your visitor will Click on Like button if he likes your site. So Friends, here i have explained the steps for adding this Facebook Pop Up Like Box for blogger.


Steps To Add Facebook Pop Up Like Box For Blogger:

1. Sign In to Blogger.
2. Go to Template from the Dashboard.
3. Click on Edit HTML.
4. Now Search for the following code.

<head>

5. Copy the below code and paste the below code after <head>

<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.js' type='text/javascript'/>
6. Now Proceed to Layout.
7. Click on Add A Widget and Select HTML/Javascript and paste below code in the Box.

<style>#fanback {display:none;background:rgba(0,0,0,0.8);width:100%;height:100%;position:fixed;top:0;left:0;z-index:99999;}#fan-exit {width:100%;height:100%;}#fanbox {background:white;width:420px;height:270px;position:absolute;top:58%;left:63%;margin:-220px 0 0 -375px;-webkit-box-shadow: inset 0 0 50px 0 #939393;-moz-box-shadow: inset 0 0 50px 0 #939393;box-shadow: inset 0 0 50px 0 #939393;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;margin: -220px 0 0 -375px;}#fanclose {float:right;cursor:pointer;background:url(http://3.bp.blogspot.com/-NRmqfyLwBHY/T4nwHOrPSzI/AAAAAAAAAdQ/8b9O7O1q3c8/s1600/fanclose.png) repeat;height:15px;padding:20px;position:relative;padding-right:40px;margin-top:-20px;margin-right:-22px;}.remove-borda {height:1px;width:366px;margin:0 auto;background:#F3F3F3;margin-top:16px;position:relative;margin-left:20px;}</style><script type='text/javascript'>//<![CDATA[jQuery.cookie = function (key, value, options) {// key and at least value given, set cookie...if (arguments.length > 1 && String(value) !== "[object Object]") {options = jQuery.extend({}, options);if (value === null || value === undefined) {options.expires = -1;}if (typeof options.expires === 'number') {var days = options.expires, t = options.expires = new Date();t.setDate(t.getDate() + days);}value = String(value);return (document.cookie = [encodeURIComponent(key), '=',options.raw ? value : encodeURIComponent(value),options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IEoptions.path ? '; path=' + options.path : '',options.domain ? '; domain=' + options.domain : '',options.secure ? '; secure' : ''].join(''));}// key and possibly options given, get cookie...options = value || {};var result, decode = options.raw ? function (s) { return s; } : decodeURIComponent;return (result = new RegExp('(?:^|; )' + encodeURIComponent(key) + '=([^;]*)').exec(document.cookie)) ? decode(result[1]) : null;};//]]></script><script type='text/javascript'>jQuery(document).ready(function($){if($.cookie('popup_user_login') != 'yes'){$('#fanback').delay(100).fadeIn('medium');$('#fanclose, #fan-exit').click(function(){$('#fanback').stop().fadeOut('medium');});}$.cookie('popup_user_login', 'yes', { path: '/', expires: 7 });});</script><div id='fanback'><div id='fan-exit'></div><div id='fanbox'><div id='fanclose'></div><div class='remove-borda'></div><iframe allowtransparency='true' frameborder='0' scrolling='no' src='//www.facebook.com/plugins/likebox.php?href=http://www.facebook.com/bloggersky&width=402&height=255&colorscheme=light&show_faces=true&border_color=%23E2E2E2&stream=false&header=false'style='border: none; overflow: hidden; margin-top: -19px; width: 402px; height: 230px;'></iframe></div></div>

Note: Change bloggersky from the above code with Your Ones. And Save the Widget.


Final Words:

The conclusion of the above post is that Social media sites such as Facebook plays an important role in the ranking of the blog in different search engines. Because a lot amount of visitors can come to your site from the social media sites. This widget will help you to take so many likes for your site. Hope you like this widget and my blog too.

0 comments:

Post a Comment