How to add a Facebook “Like” button to your WordPress Blogs

Now, it is easier than ever to add the Facebook famous “Like”/”Recommend” to your posts and increase your blog popularity. The “Like” button allows users to share their ‘like’ of your WordPress Blog with their friends on Facebook.

Every time a user clicks on the “Like” button on your blog, it creates a status update on the user’s Facebook News Feed with a link back to your WordPress Blog.

Here is how you do it:

1. Login as administrator to the WordPress admin panel.

2. Go to Appearance -> Editor.

Appearance Editor How to add a Facebook Like button to your WordPress Blogs

3. Place the following code wherever you want the like button to appear:

<iframe src=”http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&layout=standard&show_faces=false&width=350&action=like&colorscheme=light” scrolling=”no” frameborder=”0″ allowTransparency=”true” style=”border:none; overflow:hidden; width:350px; height:25px”></iframe>

4. Save the changes, and the final result should look like this:

facebook like How to add a Facebook Like button to your WordPress Blogs

Incoming search terms for the article:

Related Posts

How To Create A Basic Social Sharing Button

Dabblet CSS and HTML Editor

Pure CSS Animated Buttons

3D Blue Web Elements

1 Comment

  1. graphicsdesigner

    10.17.2011

    nice post
    thanx for sharing
    such an informative article
    i was alao trying to place a like button on my wp blog
    thanx again
    graphic designer