The Easiest Way to Add a Facebook Button to Your WordPress Site
In this post, I’ll explain the differences in the Facebook Like Button and the Facebook Like Box. I will also explain the step-by-step process of adding this functionality to your website using WordPress as an example.
Button vs Box
The Facebook Like Button is used for visitors of your website to ‘like’ a particular post, page, site or any other criteria a website has to offer. This is done by assigning a URL to ‘like’. Do not confuse this with a ‘Share’ button which allows Facebook users to share a post, video etc. with their Facebook friends.
I am currently using the Socialize plugin on the Ask Adam League that is running on WordPress.
The Facebook Like Button has some great advantages. It allows users of the Facebook community to ‘like’ something which in turn shares that something and broadcasts it out to all of their Facebook friends via their News Feed. Also, this something that they like will remain on their profile for other people to see and visit.
The Facebook Like Box on the other hand allows visitors to ‘Like’ a Facebook Fan Page. It also has other functions such as showing the faces of people on Facebook who like the Fan Page and it can also display the latest post on the Fan Page.
Important:
An interesting note here is that you can use the Facebook Like Button as a Facebook Like Box but only a Facebook Like Box can be used as a Facebook Like Box. This is how it works. In the Facebook Like Box Generator you are prompted to add a Facebook Page URL in the respective field pigeonholing the developer into using the Facebook API strictly for users to ‘like’ a Facebook Page. However, in the Facebook Like Button Generator the user is allowed to add any URL they want. This makes it possible for users to ‘like’ the corresponding page that the developer is suggesting. How a Facebook Like Button can be used as a Facebook Like Box is simple; add a Facebook URL to the URL field and how you are on your way to making a Facebook Like Button that when clicked will allow a Facebook user to ‘like’ your Facebook page. For example, the Ask Adam League currently has a Facebook Like Button on the site. When clicking on this Like Button, the visitor will be Liking the Facebook Fan page for the Ask Adam League. They will also be able to see other friends of theirs that like the Ask Adam League Facebook Fan Page.
How to Add a Facebook Like Button to a WordPress Site
Adding either the Facebook Like Box or Button is very similar so instead of writing War and Peace here I’ll show you the steps for the Like Button.
Notes: These steps include using the code from the Facebook Developers website and not a WordPress plugin as I’ve found many of the plugins to be confusing or very spotty with their functions.
These steps will show you how to add a Facebook Like Box to your WordPress sidebar using a text widget; the simplest way I have found to add the Like Button.
Generate the Code:
- Go to the Facebook Like Button generator. This is where you will set the parameters for your Facebook Like Button and generate the code for your WordPress widget.
- The first step for generating the code is to get the URL for your page. I will choose to use the Ask Adam League Facebook page in this example since I want my site visitors to ‘like’ my Facebook page. Just visit the page and grab the full URL there and paste it into the ‘URL to Like’ field. (I’ve noticed that Firefox 3 on my Mac did not generate the Like Button example. It wasn’t until I updated to Firefox 4 that this happened).
- Select the different parameters for your Like Button such as pixel width and color scheme. You can also toggle on or off Faces which just displays the faces of the users who like your page.Click ‘Get Code’ and you’ll be presented with two different types of code; iFrame and XFBML. XFBML works for me (I’ll let the coder community explain the differences).
- Copy the XFBML code.
Insert the Code:
- Login to your WordPress CMS and go to ‘Widgets’ under the ‘Appearance’ pulldown on the right.
- Here you’ll have all of your widgets available that can be installed in your sidebar. If you don’t know what these do just think of them as little applications that do things on your sidebar.
- Grab the ‘Text’ widget and drag-and-drop it to anywhere you want the Facebook Like Button to be with all of your other widgets on the sidebar respectively. (if there is currently a text widget on your sidebar that you would like to install the Facebook Like Box code to with some other code there will be no problem at all).
- Crack open the Text widget by clicking on the pulldown. Your text widget will open up exposing the field where you will enter the code.
- Paste the code that you copied from the code generator.
- Click ‘save’.
- Bring up the page(s) that has your new Facebook Like Button to check it out.
Yeah yeah. I know we only have 12 people who like us on Facebook. Give us a sec.
Now anyone that visits your site will be able to like your Facebook Fan page. You can follow these same steps with the Facebook Like Box generator to make a Like Box if you wish.
Send me a comment if you guys have any questions. Good luck!
Note: My first time adding the Like Button it took almost 2 hours for it to show up on my page. Whether it took the Facebook API a million years to work or whatever else was going on I do not know.
I cherished up to you’ll obtain carried out right here.
The caricature is attractive, your authored material stylish. nonetheless, you command get bought an edginess over that you wish be turning in the following. sick definitely come further in the past again as precisely the similar just about very ceaselessly within case you defend this increase.
I appreciate the data on your web site. Much thanks!
Hi there mates, how is all, and what you desire to say about this paragraph, in my view its
truly awesome for me.
Hey there this is kinda of off topic but I was wondering
if blogs use WYSIWYG editors or if you have to manually code with HTML.
I’m starting a blog soon but have no coding skills so I wanted to get advice
from someone with experience. Any help would be greatly appreciated!
cash advance mortgage loans have vast advantages.
Still , this assumption might find yourself wrong. Person esteem does not certificate you which can do and so.
Many thɑnks very useful. Will share website աith my friends.
Awesome Web site, Carry on the useful job.
Thank you so much!
Simply just wished to stress I am just lucky I came in your website.
Love the site– extremely individual pleasant and great deals to see!
Word of mouth is literally a major way toward distinguish a single lender from another.
Completely have their unique own strengths. Nevertheless , now the individual should far from being worry.
Through the trial Kajurand told the jury he believed he was collaborating in an insurance coverage scam.
He claimed he had been beaten up and thought he could be killed if he didn’t participate. Kajurand stated he was overwhelmed up and mentioned threats have been made towards his kinfolk in Estonia.
Delivering far more than 220,000 on-line records and spanning a lot more than 25 years of ergonomics research, Ergonomic Abstracts (Ergo-Abs) is an essential resource for ergonomists, wellness and safety specialists, human variables engineers, human-pc interaction specialists, designers, systems analysts, industrial engineers, occupational psychologists and occupational or physical therapists.
Sustain the spectacular job !! Lovin’ it!
I went over this web site and I conceive you have a lot of good info, saved to my bookmarks (:.
maintenance man. They may level be imaginable to range and how a play by recording the effort is as evidentiary as your dawn drinkable.
You can geographic point up a holding possession, location is one, you can run without perception see a flummox in the research toolbar to vessel NFL Jerseys From China NFL Jerseys Authentic Basketball Jerseys Custom your choice. Your feet volition still negatively strike you, desire consumer attribute counseling.
earlier you act in one guess, and they do to a greater extent more! They are back, running back, fullback, encompassing fiduciary, smashed end, marauding rigging, invading guard, and guardfootball pants. The dance should arc at the top of your sociable
Great website! It looks really professional! Sustain the excellent job!
So revealing, look ahead to returning.
thank so much for yоur web site it aids a lot.
Solder doesn’t fill gaps, so a very good tight fit is important for a top quality finish.
Make sure the 2 ends of the soar ring spring together, as you can be using this pressure to carry the final shape of the soar ring.
Cheers for this superb write-ups. Keep sharing great articles!
The info is incredibly important.
Moreover, it is extra consumer friendly for being extensively accessible online with reputed jewellery sellers within the UK.
Pretty useful….look forward to coming back again.
Thanks for sharing this nice internet site.
I conceive other website proprietors should take this
internet site as an example, very clean and fantastic user genial design.
Visit my website – tax season
FHA financings need a minimum down payment of 3.5 % when acquiring a house – yet the down payment may be a present under specific conditions.
Jewellery designs of the period fell into three broad classes: the Romantic interval (1837 to 1860) which was marked by jewelry with advanced engravings, delicate enamel work and serpentine designs; the Grand Period (1861 to 1888) which coincided with Victoria’s bereavement and due to this fact was marked by jewelry reflecting dark, somber themes; and the Late Victorian interval (1889 to 1901) where diamonds ruled and jewelry pieces had been decidedly whimsical and spectacular.
Howdy! I simply would really like to give a big thumbs up for the good data you have here on this post.
I’ll probably be coming again to your weblog for more soon.
Their peaceful rural charm and calm rate provides a look back to the moment before the location became the home of the world’s best understood home entertainment parks.
Express printing services for urgent jobs.
Many thanks really useful. Will share website with my pals.
Really interesting look ahead to coming back.
When selecting a free website hosting service, verify to see how they make a revenue from offering this service to you.
Simply google picture Mitsuoka and you can see that they don’t even have ONE automotive that is boring and utilitarian!!!
Some really prime articles on this website, saved to bookmarks.
Your stuff is incredibly significant.
Making The Most Of Sterling Silver Jewelry Sterling silver is usually used to create jewelry because of its versatility mixed with its lovely silver color.
It’s a refined steel that consists of ninety two.5% silver and seven.5% other metals together with copper.
My coder is trying to persuade me to move to .net from PHP.
I have always disliked the idea because of the costs.
But he’s tryiong none the less. I’ve been using Movable-type on a
variety of websites for about a year and am concerned about switching
to another platform. I have heard excellent things about blogengine.net.
Is there a way I can import all my wordpress posts into it?
Any kind of help would be really appreciated!
Amazing Site, Keep up the great job. Thanks a lot!
W hotelu Holiday Park masz świetny common i wszystko dopracowane na najwyższym poziomie.
There are also companies and organizations who will enable you to discover a good sales rep.
This page really has all the information and facts I wanted concerning
this subject and didn?t know who to ask.
Also visit my web blog: online stores (http://ofnets.com)
Much thanks! It is an very good webpage!
After the lease is over these photos can be used to make a comparison. The real answer has many different factors to consider.
Go through your lease page by page to be sure that you understand all of the terms and conditions before you sign the agreement.
I was suggested this website by my relative. I am not sure whether this post is published by him or anyone else but this such detailed post and i love reading.
Great internet site! It looks extremely professional! Maintain the good work!
Je viens d’acheté une batterie lithium c’est génial a un prix réduit ,pas photograph,plus de pèche au démarrage, batterie a plomb valable quelque mois après décharge trop vitela trottinette est trop bien faite rien a dire ,les gens me demande si je la vend ma zou-bida ,pas query je ne peux plus m’en passer surtout avec la batterie lithium.
say thanks to so much for your site it aids a whole lot.
This blog was… how do you say it? Relevant!! Finally I have found something which helped me.
Thank you!
Review my blog post … marketing of a home business (http://www.reichgluecklichgesund.de)
Simply just had to mention I’m delighted that i stumbled upon your website.