Facebook Like / Recommend Button For Blogger / Blogspot

facebook like button for blogger

Facebook like button with a like counter. Another most useful button with biggest social site. It will allow readers to quickly share posts with their Facebook Friends and also can monitor how many times have shared.

How to add facebook like button to blogger?

01. Go to your blogger Design >> Edit HTML >> and click on Expand Widget Templates.

02. Search this line <data:post.body/> and paste following code below or above it, that's depend on where you want to appear this button below post title or end of the post content.

<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=false&amp;width=100&amp;action=like&amp;font=arial&amp;colorscheme=light&quot;' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:310px; height:40px;'/>


If you want to appear the like button only post pages, use below code.

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<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=false&amp;width=100&amp;action=like&amp;font=arial&amp;colorscheme=light&quot;' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:310px; height:40px;'/>
</b:if>


Also you can change the "like" to any other word, just change blue color highlighted area as you want. All done, now visitors can easily share your posts with their friends on facebook.

Related Posts



0 comments: