Now, it is easier than ever to add the Facebook famous “Like”/”Recommend” to your posts and increase their popularity.
First, you need to login as administrator to the WordPress admin panel. Then go to Appearance -> Editor.
Then 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& amp;show_faces=false&width=350&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" ></iframe>
The final result should look like this: