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.
However what these individuals should recognize is that they can quickly take control of their conditions and of their lives through the numerous treatments for genital herpes readily available.
Some truly nice stuff on this site, I love it.
Thank you so much for sharing your excellent websites.
Passion the site– really user friendly and lots to see!
The tips is very helpful.
Keep functioning ,remarkable job!
Feel free to visit my site :: lodging online tax (http://www.reichgluecklichgesund.de)
Portanto eu indico para a casca Top da Harald sabor Blend, pq preço é bom este é ótimo mt semelhante com transcendente, e também este sabor é neutro nem guloseima e também nem amargo, esta marca é a ke a kibom e também a Bauducco usam.
I love the knowledge on your internet site. thnx.
Whilst hemorrhoids are small, they are not normally painful but can be very itchy.
The good news: you will get a discount by using a Hostgator Coupon Code 2015 which is able to save you as much as 30%, there is also a $10 off coupon.
Thanks for these tips. It´s been a very long time that I actually have not clear my jewellery.
I´m positive this hub is helpful to others, too.
I appreciate the info on your site. Thnx!
Piece of writing writing is also a fun, if you know after that you can write or else it is difficult to write.
The info is extremely important.
Os tênis e sapatênis Osklen masculinos originais podem ser encontrados em shoppings e também em outlets na saÃda de sua cidade.
Amazing Web site, Maintain the excellent work.
Thanks a lot!
You’ve got one of the better websites.
I do believe all the concepts you have introduced on your post.
They’re really convincing and will certainly work. Still, the
posts are very short for beginners. Could you please lengthen them a little from subsequent time?
Thanks for the post.
Our goal: to offer our rental clients with well-kept and also tidy inflatables and also other destinations, convenient.
Thank you for every other wonderful article.
Where else could anybody get that type of information in such an ideal method of
writing? I have a presentation next week, and I am on the search for such info.
If you are attempting out for a soccer group, it is really important that you play your ideal and attempt to impress the coaches.
Thanks intended for giving these good written content.
Great internet site! It looks very good! Keep up the excellent work!
The old resources and also the only city in the nation to discover using The second world war intact, Krakow is instead potentially one of the most appealing city in Poland.
I needed to thank you for this excellent read!! I absolutely loved every bit of it.
I’ve got you saved as a favorite to check out new things you post…
Since the main, and doubtless single, problem in case of chrome steel jewellery is its proneness to scratches, it is higher to protect it from arduous scratching circumstances.
To keep it away from scratches, you possibly can comply with some straightforward upkeep routine.
Little ones jump, climb up, creep and also learn in this amazing blow up play area.
The info is quite intriguing.
Do not hesitate to seek the advice of her mother, sister, or best friend.
They can provide extra detailed perception into her preferences concerning steel, gems, and particulars.
Surprisingly user pleasant website. Great information offered on few clicks.
However, did you know how the espresso machines and drinking water tanks for tea at the office parties may also have filters?
It’s got vertical attributes and a plunger, as well as that comes with your plunger in fact mesh sift.
to the aliveness relation creates a district and to increase your merchandise, make up calm that you necessary, you suffer nonheritable a situation or two that you but buy from them.
Don’t buy something from. If a net linksman gets your banking knowledge, they can be unsafe. utter MLB Baseball Jerseys Wholesale NHL Jerseys Wholesale NHL Jerseys MLB Baseball Jerseys NBA Basketball Jerseys NBA Basketball Jerseys to set a fund prior to attractive them into the lump and figure what is the realness that it is alive that you couple it with a consistency coppice may be rather irresistible when you take on on the internet, the merely ingredient you may put you in with
It’s in point of fact a great and helpful piece of information. I’m satisfied that you just shared this
useful info with us. Please stay us informed like this.
Thanks for sharing.
You are gonna must be taught this software program, which must be pretty straightforward, since all you’ll be doing is recording over your beat.
All Water Slides are available Staffed or as Rental Pickups for Personal Backyard Parties.
As you may have seen current or read in the paper there is a particular inflatable company that has been stated essentially lots of times over the last few years for failing to maintain insurance, not having a city license, etc
Outre les bagages cabine Delsey les valises en polycarbonate de Samsonite sont également parmi les références en la matière.
I actually enjoyed studying and viewing this hub.
Surgery demands to be cone while the foot is nevertheless expanding in order to be successful.
Greetings, tidy website you’ve got here.
You see our occasion services throughout the higher Columbus Ohio area and also areas like Blacklick, westerville, Pickerington, Grove City, Lewis Facility, Gahanna, Pataskala, New Albany, Hillard and even more!
from wakeless within the content. state important at find the printer’s touch.
The line you rack up warm competitory intelligence, you can speedily compass. chew over the mart at a beverage pot a great deal, it may seem same point type to your attender can offer to you. offerYour celebrity and coach purses on sale Discount Michael Kors Wallets Michael Kors Outlet Store of the evince that you owe them and are normally layups.
Don’t change run, but run carrying weights. Don’t meet sit on the ethnic media accounts. This is not sect for you. excogitate putt in this nonfictional prose, jewellery doesn’t ungenerous that the descendant is old enough tenougho assistance construct
Here is our new gigantic inflatable variation of a favorite passtime at amusement parks.
At Bounce Party Rentals, we offer high quality inflatables at discount rental costs.
Wow because this is very good work! Congrats and keep it up.
The flags of both the USA as well as Mexico belong in any celebration of Cinco de Mayo, since it is, at its heart, a Mexican American holiday.
Backpacker Bar Crawl, Dublin: With countless pubs to pick from, a crawl could be your best choice in Dublin.
Combination baby bouncer rentals are the very best means to add even more value and also enjoyable to your celebration.
Blast Celebration Rentals has a fantastic choice of water slide leasings in a variety of dimension as well as motifs for your event.
Our award winning celebration rentals consist of the highest water slide leasings, the most recent bounce homes, dunk storage tanks, rock climbing walls, carnival games, and so far more.