Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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>
share|improve this question
add comment

2 Answers

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

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

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

And setup a facebook like button without the send option.

share|improve this answer
    
Thanks but where do I place this? in my CSS or footer.php? –  Arthur Mamou-Mani Dec 21 '12 at 23:37
    
What you want to do is copy the "src" part and paste it within your footer. –  Martin Hasan Dec 21 '12 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/l‌​ikebox.php?href=http%3A%2F%2Fwww.facebook.com%2FMAMOUMANIARCH&amp;width=300&amp;h‌​eight=260&amp;colorscheme=light&amp;show_faces=on&amp;border_color=%23ddd&amp;str‌​eam=false&amp;header=false"> </a></p> –  Arthur Mamou-Mani Dec 22 '12 at 0:01
    
Try the plugin I linked to in my answer –  Aliyah Dec 22 '12 at 0:06
    
Go here: developers.facebook.com/docs/reference/plugins/like And setup a facebook like button without the send option. –  Martin Hasan Dec 22 '12 at 2:01
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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