Add Facebook “Like” Button To Each Post In Thesis Without Plugin function fb_like() { if (is_single()) { ?> <iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&layout=standard&show_faces=false&width=450&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:60px;"></iframe> <?php } } add_action('thesis_hook_after_post','fb_like');