How To Add A Facebook Like Button To Your Website
Recently Facebook changed the language for Pages from “Fan” to “Like”.
In their words,
To improve your experience and promote consistency across the site, we’ve changed the language for Pages from “Fan” to “Like.” We believe this change offers you a more light-weight and standard way to connect with people, things and topics in which you are interested.
Fortunately, for those of us who had already added the Facebook Fan button to our sites,
.. the <Become a Fan> button automatically turned into a <Like> button,
Social Plugins
Shortly after Facebook released a new range of social plugins which compliment this new change in language.
These social plugins let you see what your friends have liked, commented on or shared on sites across the web. All social plugins are extensions of Facebook and are specifically designed so none of your data is shared with the sites on which they appear.
Facebook have now made it even easier to integrate these social plugins to your website or blog.. all you need to do is paste in a single line of HTML code and your site will be Facebook ready.
Like Button
The Like button lets users share pages from your site back to their Facebook profile with one click.
If you are using WordPress it is extremely easy to add a Like button to your pages. All it takes is to add a single line of code to your single.php file.
To do this click on Editor,
Click on single.php,
Now copy and paste the following code into this file (adjusting the height and width as necessary),
Facebook Like Buttonhtml4strict
I have pasted this code towards the top and bottom of single.php – that way it will appear at the top and bottom of each post that I create.
Check it out for yourself –> scroll to the top and bottom of this post.
That’s it.
It doesn’t get much easier than that!