Saturday, January 29, 2011

Facebook Like button For Every post

This like button also helps to  share your post with your
facebook friends.its good way to increase your blog readers
.you can know how may people like your post also.you can
 follow below step to put like button.


1. Go to your blogger and click "Design" on your dashboard and click "Edit HTML".

2. Make sure "Expand Widget Templates" check box is marked.

3. Find this code by using  Ctrl+F     <data:post.body/>

4. Paste this below code after found above code.

<b:if cond='data:blog.pageType == &quot;item&quot;'><div><iframe allowTransparency='true' expr:src='&quot;http://www.facebook.com/plugins/like.php?href=&quot; + data:post.url + &quot;&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=arial&amp;colorscheme=light&quot;' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:450px; height:40px;'/></div>
</b:if>

5. Now you can see like button in your each post.

1 comment: