Add facebook’s like button to your WP

This is very easy to integrate facebook’s like button to your posts. Ok here is step-by-step procedere.

1-Login to your Wordpress admin

2-Go to the appearance –> editor section

3-From right panel click on Main index Template

4-On the line before

<p class="postmetadata"></p>

5-Paste the below code

<div class="postmetadata" id="facebooklikebtn">
<iframe src="http://www.facebook.com/plugins/like.php?href=<?php the_permalink() ?>&amp;layout=standard&amp;show-faces=false&amp;width=450&amp;action=like&amp;font=verdana&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:20px"></iframe>
</div>

6-Do the above for the Page Template and Single Post
7-You Done!

If you have any question find me @digvan

blog comments powered by Disqus

Search

Blogroll

Me Where Else?

Python

My micro log

digvan: RT @jeanineAKAj9: RT @effie313: RT @jfavreau: : “Love all, trust a few, do wrong to none” ~William Shakespeare #quote
16 hours ago
digvan: RT @voodootikigod: So facebook is becoming foursquare, iTunes is becoming facebook, and twitter is stable during a keynote. The future is nao.
2 days ago
digvan: RT @davidebbo: My machine has 67 instances of GoogleUpdate.exe running right now. It's nice to stay up to date!
1 week ago
digvan: RT @phil_nash: Welcome to the new decade: Java is a restricted platform, Google is evil, Apple is a monopoly and Microsoft are the underdogs
3 weeks ago