Your friends spend most of their time on Facebook, so why not take advantage of that on your WordPress site? Adding a Facebook “Like” button to your WordPress theme is very easy to do. In this example, we will show you how to add a “Like” button to your posts by editing one file:
Open your theme’s single.php file and add the following code where you would like it to be displayed:
[html]