How to Add Facebook Like Button in WordPress

Facebook button is very useful and it help  you to grow website visitor. First open your single.php or post.php  file in your theme’s folder. Then paste the following code before or after the_content() inside your post loop: [php] <iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:25px"></iframe> [/php] If you want to […]

How to Add Facebook Like Button in WordPress Read More »