--> Add Sliding Facebook LikeBox To Wordpress | Experience Lab - Online business creation and development guide for bloggers and startups

Add Sliding Facebook LikeBox To Wordpress

Would be not wrong if I say you already use facebook like box for your facebook page at your website/blog. But they don’t have any kind of e...

Wordpress Facebook LikeBoxWould be not wrong if I say you already use facebook like box for your facebook page at your website/blog. But they don’t have any kind of effect they just live at your website/blog like a simple widget. Although this is my first post at MBT but I will try my best to give you more from this tutorial. It’s about how to add a pop out facebook like box with slide effect. Basically it uses JQuery effect for sliding. It is a Wordpress Version of the same Widget Mohammad Posted on "Floating LikeBox For Blogger"     

Add Floating LikeBox To Wordpress


imageIn the demo you can see an image that float one the left side of the page when you put your mouse pointer on that image the image slide having a facebook like box with a cool style, follow the steps below and see how you can grab this for your wordpress blog.

 

  1. Login to your Wordpress Dashboard.
  2. Navigate to Appearance > Widgets
  3. Drag and drop a Text (Arbitrary text or HTML ) widget to the sidebar
  4. Paste the following code inside it, if your facebook page URL is look like “https://www.facebook.com/bloggertricks” then use this code 

<script type="text/javascript">
//<!--
$(document).ready(function() {$(".w2bslikebox").hover(function() {$(this).stop().animate({right: "0"}, "medium");}, function() {$(this).stop().animate({right: "-250"}, "medium");}, 500);});
//-->
</script>
<style type="text/css">
.w2bslikebox{background: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCgXZdMOoQgP6HT35vT4OzrQknHqwYEvoBZKW36nqGkKwXGIELdudxdja-F850MiskVg_nYYnk85a4YE1Tu3yVBBfQAkkMtb6xDge9eV1Z5bn9J9C71-BOjbWLUSl5mGNkiGF4mf_xypHe/s150/w2b_facebookbadge.pn") no-repeat scroll left center transparent !important;display: block;float: right;height: 270px;padding: 0 5px 0 46px;width: 245px;z-index: 99999;position:fixed;right:-250px;top:20%;}
.w2bslikebox div{border:none;position:relative;display:block;}
.w2bslikebox span{bottom: 12px;font: 8px "lucida grande",tahoma,verdana,arial,sans-serif;position: absolute;right: 6px;text-align: right;z-index: 99999;}
.w2bslikebox span a{color: #808080;text-decoration:none;}
.w2bslikebox span a:hover{text-decoration:underline;}
</style><div class="w2bslikebox" style=""><div>

<iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Ffacebook.com%2Fbloggertricks&amp;width=245&amp;colorscheme=light&amp;show_faces=true&amp; connections=9&amp;stream=false&amp;header=false&amp;height=270" scrolling="no" frameborder="0" scrolling="no" style="border: medium none; overflow: hidden; height: 270px; width: 245px;background:#fff;"></iframe><span>Widget by:<a href="http://www.MyBloggerTricks.com">My Blogger Tricks</a></span></div></div>

Replace "bloggertricks" with you page username. In case your facebook  Page URL  looks like 

http://www.facebook.com/pages/MyBloggerTricks/106066352757384

Then better create a Facebook Username  in 5 seconds by visiting this Link

5. Save your widget.
6. Next In your theme options > Go to Head Code.
If your theme does not support any head code section you can get it by simply Installing a plugin with a name "Header and Footer" by "Satollo"
7. Paste the code below in the head code box


<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>


8. Click Save.

Visit your blog to see it working, Hope you enjoy the post.


Faiz Muhammad Khan is a student of BSC computer Science. He has an ambition to become a Web Designer / Developer. He loves to Blog @ RISE PK You can always keep in touch with him at @Facebook

COMMENTS

Name

Affiliate Marketing,12,Announcement,34,Bing,9,Bitcoin,38,blog,7,Blogger Resources,42,Blogger Templates,4,blogger tricks,156,Blogging ethics,70,Blogging tips,198,Bugs and Errors,34,Business,9,Copyright Violation,9,CSS and HTMLTricks,95,Designs,8,drop down menu,7,eBook,12,Email Marketing,7,Events,30,Facebook,30,Facebook tricks,49,Google,157,Google AdSense,42,Google Analytics,7,Google Plus,51,Google Plus Tricks,38,Guest Posts,112,home,2,How To,77,Internet,1,JSON Feeds,25,Kitchen Recipes,2,Label Based Sitemap Themes,1,Make Money Online,108,Marketing,16,MBT Blogger Templates,7,Menus,1,News,146,Pages,1,Posts,10,presentations,15,Responsive,10,Reviews,7,SEO,307,Settings,6,Shortcode,15,Sitemap Themes,1,Social Media,155,Technology,7,Templates,1,Tips,2,Tools,1,Traffic Tips,80,Video,19,Web Designing,62,web hosting,18,Webmaster Tools,97,Widgets,199,wordpress,26,
ltr
item
Experience Lab - Online business creation and development guide for bloggers and startups: Add Sliding Facebook LikeBox To Wordpress
Add Sliding Facebook LikeBox To Wordpress
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjipBSFUX_OMqbmn3meOBUKuPyG-2pezixzH6POQ38ay8bfyYuuOSspIRakWc0qRvJ9K1PKoH8h3WEDif0lhE8Bwkl0BOTJf8wjV6r_HgSlY8qnTqVrdkMd-gSUSRBc8gUaVqisfUxwysw/?imgmax=800
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjipBSFUX_OMqbmn3meOBUKuPyG-2pezixzH6POQ38ay8bfyYuuOSspIRakWc0qRvJ9K1PKoH8h3WEDif0lhE8Bwkl0BOTJf8wjV6r_HgSlY8qnTqVrdkMd-gSUSRBc8gUaVqisfUxwysw/s72-c/?imgmax=800
Experience Lab - Online business creation and development guide for bloggers and startups
https://www.experiencelab.info/2011/12/add-sliding-facebook-likebox-to.html
https://www.experiencelab.info/
https://www.experiencelab.info/
https://www.experiencelab.info/2011/12/add-sliding-facebook-likebox-to.html
true
2959477579779989044
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share. STEP 2: Click the link you shared to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy