Monday 10 October 2011

How to add facebook like button in a blog

Login to your blogger account then click dashborad then select Layout> Edit HTML then check mark the Expand Template Widget
Then look <data:post.body/> and

After this copy and paste the code given below:


<iframe allowTransparency='true' expr:src='&quot;http://www.facebook.com/plugins/like.php?href=&quot; + data:post.url + &quot;&amp;layout=standard&amp;show_faces=true&amp;width=100%&amp;height=60&amp;action=like&amp;font=arial&amp;colorscheme=light&quot;' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:100%; height:60px;'/>


Save this code and you have done it.Before doing this please take backup of your source code that you are going to edit....

No comments:

Post a Comment