Beginner's Guide for WordPress - Start your WordPress Blog in minutes.
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

Jan 21, 2013

How to Add Facebook Like Button to Blogger Posts

on 1/21/2013 in
SOCIALIZE IT →

Add facebook Like Button to Blogger
I previously shared Facebook Like box which help in increasing blog traffic via fans. In this tutorial i will teach you how we can add a Facebook like button to blogger posts. This like will not increase your fans but like and share your posts on Facebook. It works faster than "send button". If you want to add this like button to your blog, follow the instruction below:

Adding Facebook Like Button to Blogger

  • Go to Blogger Dashboard > Design > Edit HTML
  • Back Up your template
  • Click the "Expand Widget Templates" box
  • Press "Ctrl+F" and find the code given below in your template
<data:post.body/>
Now add the code given  above <data:post.body/>, if you want to add like button below post title.
Now add the code given  below <data:post.body/>, if you want to add like button below your post.

There are there types of button, choose and add code according to instructions given above.

Add facebook Like Button to Blogger

Style 1 Code

<b:if cond='data:blog.pageType != &quot;static_page&quot;'> <iframe allowTransparency='true' expr:src='&quot;http://www.facebook.com/plugins/like.php?href=&quot; + data:post.canonicalUrl + &quot;&amp;send=false&amp;layout=box_count&amp;show_faces=false&amp;width=55&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=62&quot;' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:55px; height:62px;'/> </b:if>

Style 2 Code

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

Style 3 Code

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

Hope you have done!! But still if you find any problem don't hesitate to ask.


My Profile PhotoAuthor:

Zaka Ur Rahman

For Further Reading,

Widgets

0 comments:

Post a Comment

We’re eager to see your comment. However, Please Keep in mind that all comments are moderated manually us according to our comment policy, and all the links are nofollow. Using Keywords in the name field area is forbidden.

Regards:
Zaka Ur Rahman

 

About eHowBlogger

eHowBlogger is a free Blogger Web Development Resource Website founded in 2013 by Zaka Ur Rahman. The basic purpose is to share high quality tips and tutorials relating to web development, SEO and make money online.High Quality Blogger Templates project is coming soon for providing free professional blogger templates.
Template Developed By:iTechRelease