Facebook has just unleashed the Like buttons for the whole web. They are the same Like buttons which you used to see on Facebook, which will now be seen on various websites very soon.

If you are a webmaster, you might be interested in implementing this on your blog/website right away, since it lets users to share something they find interesting on your website on click of a button.

How to Add Facebook Like Button on Wordpress Blogs?

Implementing Facebook’s Like button on your Wordpress blog is fairly straight-forward. Just visit the Facebook developer page where you can customize the Like button as per your need and get the code. For the URL, key in php_the_permalink as shown below.


Update: If you get an error, use php echo urlencode(get_permalink($post->ID)); in place of php_the_permalink

In case you are on Blogger or any other platform, just replace the php_the_permalink part with the permalink code of your system.

Was this article helpful?