Support » Plugins » How to add the Facebook Like Button on your blog

  • Ok guys this is not a question. I wanted to add that cool Facebook Like button on my blog and after a bit of searching and successfully getting it done on my blog, I thought I’d share it here.

    If you’re comfortable with editing your WordPress template files, you can simply add this code after your post:

    <iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink()); ?>&layout=standard&show-faces=true&width=530&height=60&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:530px; height:60px"></iframe>

    And voila, there it is. Everytime a reader presses the Like button the count will go up and your link will be posted on his/her profile.

    Good luck and enjoy! 🙂

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to add the Facebook Like Button on your blog’ is closed to new replies.