Adding a Facebook “Like” Button To Your Blog
![]()
As you can see, I have added a simple Facebook “like” button to my blog on article pages. It’s a very easy way for people to share articles they like and also helps drive more traffic to your sites. Since it seems most people have Facebook accounts now-a-days, there should be plenty of users on blogs liking things. Best part is, it’s really easy to add to your blog too. Here is the code:
<iframe src="http://www.facebook.com/plugins/like.php?href=<?php the_permalink()?>&layout=standard&show_faces=true&width=450&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:530px; height:60px"></iframe>
Simply add this on your single.php page anywhere you like. You can change the parameters to customize the link button however you want. I think this is an awesome little trick and will drive more traffic than any of those “share” buttons on most blogs (including mine).












