Skip to Main Content

Facebook Social Plugins on WordPress – LIKE IT

Posted on 4.26.2010

Web marketers looking to further their businesses’ presence on Facebook are turning in droves to the Social Plugins recently offered up by the social networking powerhouse. The group which I predict will have the most immediate rate of adoption is site owners using WordPress.

So how do you add Facebook Social Plugins to your installation of WordPress? The upcoming issue of Website Magazine (professional version only) will provide some detailed guidance but if you are interested in getting started today, the best way to do that would be to add the Facebook “Like” button – and we’re going to show you how. You’re going to be very surprised at how easy this is.

- On each of the individual social plugin pages you are able to retrieve the code. Visit the Like Button reference document and choose the button style, making sure to enter your weblog’s URL.

Editors Note: For the purpose of showing you exactly how to do this, I’ve asked our Senior Editor Mike Phillips to offer up his music blog Sound Citizen as the test environment.

- FB provides the code in an iframe format an in XBFML format (but you’ll need to be using the JavaScript SDK for the latter.

- When you have successfully grabbed the code, you will need to paste it into your blog’s theme file (single.php) where you want the FB Like button to appear.

Now the fun begins.

- Inside the code a reference to the URL can be seen (show in bold below):

- To display the FB Like button, simply change that URL to WordPress’ dynamic URL code (

Today's Top Picks for Our Readers:
Recommended by Recommended by NetLine

Leave Your Comment

Login to Comment

Become a Member

Not already a part of our community?
Sign up to participate in the discussion. It's free and quick.

Sign Up


Leave a comment
    Load more comments
    New code