• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
logo

All Blogging Tips

Everything About Blogging

  • Home
  • Start a Blog
  • Blogging Resources
  • About
  • Contact
  • Work With Me

Another New Floating Facebook Like Box For WordPress

By Ammar Ali 26 Comments

facebook like box widgetRecently we shared simple yet stylish floating facebook like box widget. Now we came with Another New Floating Facebook Like Box Widget For WordPress ! This will Floating Facebook Button when to move your cursor on it it pop out with stylish floating facebook like box. Its widget for WordPress. You can find floating facebook like box here.  Now lets move to how you can add this in blogger I will show you How You Can Add Another New Floating Facebook Like Box Widget To WordPress?

Table of Contents
  • Add Floating Facebook Like Box Widget To WordPress !

Add Floating Facebook Like Box Widget To WordPress !

  1. Go to Dashboard > Appearance > Widgets > Available Widgets.
  2. Drag Text widget into a sidebar.
  3. Paste in the code.
  4. Save.
<script type="text/javascript">
 /*<![CDATA[*/
 jQuery(document).ready(function() {jQuery(".abtlikebox").hover(function() {jQuery(this).stop().animate({right: "0"}, "medium");}, function() {jQuery(this).stop().animate({right: "-250"}, "medium");}, 500);});
 /*]]>*/
 </script>
 <style type="text/css">
 .abtlikebox{background: url("http://4.bp.blogspot.com/-mMtB2ANqowQ/T6es-PuSR2I/AAAAAAAAAjM/LDamrUnMJJc/s320/fb1-right.png") no-repeat scroll left center transparent !important; float: right;height: 270px;padding: 0 5px 0 46px;width: 245px;z-index:  99999;position:fixed;right:-250px;top:20%;}
.abtlikebox div{ padding: 0; margin-right:-8px; border:4px solid  #3b5998; background:#fafafa;}
.abtlikebox span{bottom: 4px;font: 8px "lucida grande",tahoma,verdana,arial,sans-serif;position: absolute;right: 6px;text-align: right;z-index: 99999;}
 .abtlikebox span a{color: gray;text-decoration:none;}
 .abtlikebox span a:hover{text-decoration:underline;}
}
</style>
 <div class="abtlikebox" style="">
     <div>
     <iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Ffacebook.com%2Fallbloggingtips&amp;width=245&amp;colorscheme=light&amp;show_faces=true&amp;border_color=white&amp;connections=9&amp;stream=false&amp;header=false&amp;height=270" scrolling="no" frameborder="0" scrolling="no" style="border: white; overflow: hidden; height: 270px; width: 245px;background:#fafafa;"></iframe><span></span>
     </div>
 </div>

5. Click on Save button and done !

Note:-Replace allbloggingtips With Your Facebook User name.

5. Save your widget.

Now this is most important part. If you missed it the widget will not works.

6. Goto Appearance > Editor

7. Than goto > Header.php

8. Now Place below code just before <head>

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

9. Click Save.

Now Visit your blog to see it that its working :D. Hope you enjoy the post.

Filed Under: WordPress, WordPress Widgets

About Ammar Ali

A blogger, web designer, front-end developer and WordPress specialist since 2011. I started this blog during high school. Here I share what I've learned so far and what I continue to learn through blogging so that I can be of assistance in some way to improve your blog. Read more here.

Reader Interactions

Comments

  1. Ellioth says

    February 27, 2014 at 1:51 am

    Hey! first, everything go marvelous!!! thanks a lot by the code. But i have a cuestion… how can i do the same but with a twitter teets box?

    again, your code was perfect!
    see ya!

    Reply
    • Ammar Ali says

      February 28, 2014 at 5:48 pm

      Well, that is not available for twitter version. Did you tried this method?

      Reply
  2. Donah says

    February 22, 2013 at 12:43 am

    Hi Ammar! Wow this is so awesome. I think I like the feel of this widget compare to the ones I saw before. I’m not code savvy but this post is super helpful! Thanks so much! Just put it on my blog.

    xx Donah
    Sweet Jelly Bean

    Reply
  3. Nirav says

    January 18, 2013 at 11:10 am

    Thanks , it`s working good. But i want to put left side of my blog. Where should i changed in code.

    Reply
    • Ammar Ali says

      January 18, 2013 at 3:10 pm

      Search for “float : right” in above code and replace it with left. :)

      Let me know if you still face any issue!

      Reply
  4. rakesh kumar says

    January 18, 2013 at 10:52 am

    Hello Ammar, if i am not wrong this code was originally belong to bloggers. You just customized it for wordpress. Am i right ? This really create an awesome feelings.

    Reply
    • Ammar Ali says

      January 18, 2013 at 3:12 pm

      This widget was only available for blospot users. But I converted in to WP as well.. Now This is available for both. You can see the blogger version here.

      Reply
      • rakesh kumar says

        January 18, 2013 at 9:52 pm

        It means i was quite right in this case. Your basically come on wordpress from blogger. its really awesome progress, Congratulation.. for this growth.

        Reply
  5. Phil M says

    January 10, 2013 at 3:10 am

    Great tutorial Ali,
    Was easy to follow and looks great on my blog !
    Thanks

    Reply
  6. Patrick says

    October 10, 2012 at 4:02 am

    Hi. I saw that you have done exactly the same as I did over 1 year ago that is already adapted for WP, please take a look https://wordpress.org/plugins/be-it-facebook-sidetab/ if you guys still have problems with this.

    Regards

    Reply
  7. Andrew says

    September 30, 2012 at 9:48 pm

    I think I discovered why it stopped working but would love a work around. I really love your code. I made a post that contained a youtube video and it stopped working. After i removed the post it started working again.

    Reply
  8. Adil says

    September 7, 2012 at 4:12 am

    please specify how to put in facebook user name. whenever i am putting in my page name.its generating an error

    Reply
    • Ammar Ali says

      September 7, 2012 at 11:36 am

      Let me know whats your facebook page username? I’ll give you new code for this! :)

      Reply
  9. dika says

    July 26, 2012 at 2:02 am

    i’ve put it on my website, and it’s work.. thanks

    Reply
  10. Gautam says

    July 19, 2012 at 1:09 pm

    hi Ammar i liked your way for this facebook like box without plugin so out hosting a/c not much load for other java scripts.
    thanks for this code.

    Reply
    • Ammar Ali says

      July 19, 2012 at 1:18 pm

      You are right bro..

      Thanks for visiting and commenting.. :)

      Reply
  11. Masroor Aijaz says

    July 14, 2012 at 2:29 pm

    I even didn’t add the header code but still my floating facebook like box works.

    Reply
  12. Scott says

    June 24, 2012 at 8:27 am

    Thank you for sharing good practices. Good advice is always good to take. Great article, I will try to increase my ranking on Google with these tips.

    Reply
  13. NGOCHUY1991 says

    June 1, 2012 at 3:02 pm

    It’s look like arscode-social-slider-free plugins!

    Reply
  14. Rahul says

    May 18, 2012 at 7:37 pm

    Really impressed by watching your improvement,when you published(25/01/2012) your first slide out facebook like box the number of your facebook fans was 66 and now(11/05/2012) on this version it is 364.Keep going bro.Best of luck….

    Reply
    • Ammar Ali says

      May 18, 2012 at 8:10 pm

      Yeah ! Glad to know that ;) BTW now total facebook likes are 400+ :P

      Reply
  15. Naser says

    May 14, 2012 at 11:10 pm

    Thanks for the share Ammar. Can we use HTML 5 like box in that code?

    Reply
    • Ammar Ali says

      May 14, 2012 at 11:12 pm

      I am not sure about that :( But you can test it and see yourself it works or not

      Reply
  16. Chuck says

    May 14, 2012 at 10:28 pm

    Thanks for the code, I have been wanting a floating box but haven’t been able to find one I like.

    Reply
  17. Bharat Chowdary says

    May 13, 2012 at 12:30 pm

    Really like this like box, will there be any effect on page loading speed if we add this ?

    Reply
    • Ammar Ali says

      May 13, 2012 at 1:03 pm

      Not so much ;)

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Popular Posts

  • Is Your Blog Properly Optimized? 5 SEO Must-Haves to Check Off Your List
  • 10 Powerful Ways to Become a Famous Blogger in No Time!
  • 10 Proven Ways To Make Money Without Google AdSense
  • Google AdSense Vs Affiliate Marketing: Which One Should You Choose?
  • 5 Tactics To Boost Your Content Reach & Engagement
  • 12 Things to Do Before Applying for Google AdSense
  • Are Backlinks Becoming Less Valuable?
  • Step by Step Guide to Creating a Travel Blog
  • How to Start as a Freelance Writer & Is It Worth?
  • Add Smooth Multi Level Drop-Down Menu In Blogger

Let Me Help You!

Let me take care of your website and make it run like a champ. I can help you with blog setup, migration, quick fixes or maintenance services.

Work With Me

Copyright © 2026 · Genesis Sample on Genesis Framework · WordPress · Log in