0

I have added a button that links to a facebook page at the left of my website, I would like to be able to let people like the page directly from my website. How can I do that?

Right now I added the following CSS line:

#fbtab{
background: url(http://mamou-mani.com/wp-content/themes/arthur/images/icon-fbtab.png) no-repeat; /* Path to Image */
left:1px;  /* change this to left: 1px; to put it on the left of the screen */
top:40%;height:60px;width:60px;margin:0px;padding:0;position:fixed;z-index:5000;}
#fbtab a{display:block;width:100%;height:100%;}

and following line in my footer.php:

<p id="fbtab"><a href="https://www.facebook.com/MamouManiArch"></a></p>

2 Answers 2

1

Edited: To get floating social icons, including facebook 'like', try this plugin.**

10
  • Thanks a lot, how can I place the widget on the left side of my website, like the sign I already have? Dec 21, 2012 at 23:50
  • 1
    Follow the other answer above and see if that works for you.
    – Androliyah
    Dec 21, 2012 at 23:50
  • Hi Aliyah, which code are we talking about? the widget's code? Dec 22, 2012 at 0:02
  • 1
    I see. Hold on while I look for a solution
    – Androliyah
    Dec 22, 2012 at 0:53
  • 1
    Taking longer than expected. I'll try to come up with something tomorrow
    – Androliyah
    Dec 22, 2012 at 3:13
1

Go here: https://developers.facebook.com/docs/reference/plugins/like

And setup a facebook like button without the send option.

5
  • Thanks but where do I place this? in my CSS or footer.php? Dec 21, 2012 at 23:37
  • What you want to do is copy the "src" part and paste it within your footer. Dec 21, 2012 at 23:40
  • Thanks a lot but unfortunately it did not work. I have placed the following code in my footer: <p id="fbtab"><a href="https://www.facebook.com/MamouManiArch"><src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2FMAMOUMANIARCH&amp;width=300&amp;height=260&amp;colorscheme=light&amp;show_faces=on&amp;border_color=%23ddd&amp;stream=false&amp;header=false"> </a></p> Dec 22, 2012 at 0:01
  • Try the plugin I linked to in my answer
    – Androliyah
    Dec 22, 2012 at 0:06
  • Go here: developers.facebook.com/docs/reference/plugins/like And setup a facebook like button without the send option. Dec 22, 2012 at 2:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.