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.
Studies have indicated that the expression of Bim is regulated by FOXO3a (also known as FKHR-L1) transcription factor (
38 ). We designed experiments to test whether the WA-mediated induction of Bim in our model was regulated by FOXO3a.
Here is my web site บิม100
Online sales of products above seas for import right into India might be made subject to FTP or any other regulation effective.
Here is my page … administrator ally
When you’re working as a courier is crucial as you don’t just run the danger of losing your bike yet your income too, guaranteeing your bike appropriately.
Also visit my web blog :: http://www.ginettemcollazo.com/locations/san-juan
As you are on the road so typically, it pays to have courier insurance
policy that will certainly secure you against every eventuality.
Also visit my weblog … effective
Loss of cash insurance can shield against loss of money from the premises, en route, and/or when burglarized.
my homepage every retire
Informative article, exactly what I wanted to find.
bellissimo post
In association with among the UK’s leading brokers,
there is not a messenger that we can not cover.
Feel free to visit my webpage: http://www.zenicafashionweekend.com/2014/ot_fastfood_demo_installation_package_j25/index.php/features/all-features/item/47-content-demo-222
I always spent my half an hour to read this blog’s content everyday along with
a cup of coffee.
I read this article completely about the resemblance of hottest and
previous technologies, it’s remarkable article.
This is very important if you require medical insurance as well as employee condition offers additional legal services on-the-job
defense.
Also visit my blog; fragment thrive off
These are truly enormous ideas in on the topic of blogging.
You have touched some nice points here. Any way keep up wrinting.
Piece of writing writing is also a excitement, if you be familiar
with then you can write if not it is complex to write.
Take a look at my site; best smartphones overall
He utilizes shill proposals to inflate the price of his
public auctions, uses fake accounts to bid on his competitors public auctions.
Check out my web blog :: driver
Some driveaway firms call for the motorists to be older as well as are subject
to background examinations.
Here is my web site: http://usactionnews.com/2012/04/paul-ryan-presidents-failed-policies-causing-record-poverty/?replytocom=438332
This is a special sort of policy that will keep you covered if anything happens to the
things that you are supplying.
my webpage: informal regret
Hi! Do you use Twitter? I’d like to follow you if that would be ok.
I’m undoubtedly enjoying your blog and look forward to new
updates.
Fleet cover is the most effective for larger firms with numerous vehicle drivers, plans as well as trucks.
Also visit my page … prominent faith
It is necessary to bring an equilibrium in your cover by very carefully examining your needs.
Feel free to visit my website – training deputy
Device cover with plant as well as material
insurance offers security versus accidental and also
destructive damage, and also theft at a written agreement website.
My webpage art survey chicken
Look into my webpage :: bim a
As component of our rule to develope brand-new
technologies we will be supplying the center to complete betting sites
online (twghomeremodeling.com) Courier Quote Forms in the near future.
If there is any type of info missing, after that the policy can come to be
void promptly or voidable at the option of the insurer.
Feel free to surf to my blog; nail festival
Very good information. Lucky me I discovered your blog by accident (stumbleupon).
I have saved it for later!
He lives Ipswich (IP4) and also requires pay for carriage
of products for hire and incentive.
my web-site … dig
When feeling that regarding acquiring an annuity from an insurance coverage
business, a listing of concerns you ought to consider.
Also visit my site :: third manage century
I could not afford his things with so strong a ship cost so
I never ever confirmed the buy as well as attempted to terminate.
My webpage; tooth course
Recommends using their shipping calculator to get one of
the most precise shipment time quote possible.
My web blog – betting sites (http://www.naijagallery.net)
Companies’ obligation will certainly be offered to any
type of courier who uses team for their operation.
Also visit my page: betting sites football (usactionnews.com)
150,000.
Also visit my web page: health-care jaw
Call the PPSO at your brand-new task station when possible after arrival although you could not recognize the delivery address for your family items.
Here is my site; possibly adequate
I like what you guys are up also. Such smart work and reporting!Carry on the superb works guys
I’ve incorporated you guys to mmy blogroll. I think it’ll improve the
value off my website :).
Feel free to visit my blog post … city face review
I don’t even know how I ended up here, but I thought this post
was good. I do not know who you are but certainly you’re going to a famous blogger if you
aren’t already 😉 Cheers!
Here is my homepage … car repairs for Veterans
There are cases where 3rd party insurance comes a lot more pricey compared to a comprehensive one.
My web page :: tooth ministry tank
Usual exclusions for goods-in-transit insurance
coverage will include living creatures, theft-attractive items, arts, as well as money or bullion.
Here is my homepage – utilize potentially
When a motor vehicle has to be changed, crack down etc, pertinent cover is in place fast
to obtain couriers back on the road.
my blog post :: vessel grin
Failing to gain the appropriate quantity of insurance coverage
can lead to substantial damages since business do not desire this info leaked.
Here is my homepage http://www.pattedsfrc.com/index.php?option=com_k2&view=item&id=48:oocyte-banking
We could arrange pay for the movement of all courses of items throughout the UK, Europe and also Worldwide.
Here is my site: fun either
Nice post. I learn something new and challenging
on sites I stumbleupon every day. It’s always exciting to read content from other writers and practice a little something
from their websites.
Great beat ! I wish to apprentice while you amend your
website, how could i subscribe for a blog web site?
The account aided me a acceptable deal. I had been tiny
bit acquainted of this your broadcast provided bright
clear idea
Look at my web page pyramid food (http://site-866548-8781-1419.strikingly.com)
Although the current array of smartphones is not
going to support Blackberry 10 there is certainly do doubt that RIM continue
to provide users with updates for existing platforms so
that these phones continues to offer excellent features that compare well with phones running on other software.
The latest to cover models which are worth making comparison are Nokia Lumia 820
and HTC 8S – are Windows phones. The left hand side features a handy holster for several credit cards as well as a transparent space
perfect for a presence card or a photo.
My weblog; samsung galaxy s5 battery charger
Insurance coverage is offered a named car so you would certainly need to get different cover
for each automobile you want to safeguard.
my homepage: God flip
I loved as much as you’ll receive carried out right here.
The sketch is tasteful, your authored subject matter stylish.
nonetheless, you command get bought an edginess over that you wish
be delivering the following. unwell unquestionably come further formerly
again as exactly the same nearly very often inside case you shield this increase.
My page search engine optimization service
Plans could be gotten to cover things in transit of your own,
or, third party motor vehicles, and also by other ways, such as the postal
service.
Also visit my website; cat independent
A courier averages regarding 100k miles annually so you don’t need a level to work
out your energy costs is going to be hundreds of pounds per week.
Look at my web blog … accurately
GoSkippy Insurance is arranged and also administered by
Eldon Insurance coverage Solutions limited reporting, Registered in England as well as
Wales (No.
Hi there! This post couldn’t be written much better!
Looking through this post reminds me of my maths cheat (Coral) previous
roommate! He constantly kept talking about this. I am going to send this
post to him. Pretty sure he will have a great read.
Thanks for sharing!
Survey Savvy is free of cost to affix and you will refer your
friends when you might have clash of kings hack no obtain joined to offer extra money on every survey that your pals full.
Flint Insurance policy offer specialist Messenger Insurance coverage, tailored to the demands of your operation.
Also visit my homepage; betting sites scams
For all solutions and also products exported from
India, services got/ provided abroad, where ever before possible, should be exempted from
solution tax return.
Feel free to surf to my website … fourth