How ta add Facebook Like button (Top or Botom in Blogger blog post)

on Tuesday, November 2, 2010


You can add this widget to Top or Botom in Blogger blog post



How to add Facebook like button to top of the blogger blog post.

1. Login to your blogger Dashboard

2. Go to Dashboard >> Design >> Edit HTML

3. Press Ctrl+F and find this code

 <div class='post-header-line-1'/>

4. Now copy and paste this code AFTER that 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:450px; height:40px;'/>
</b:if>
 
5. Save the template

How to add Facebook like button to bottom of the blogger blog post.
 
 1. Login to your blogger Dashboard

2. Go to Dashboard >> Design >> Edit HTML

3. Press Ctrl+F and find this code

<data:post.body/>

4. Now copy and paste this code AFTER that 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:450px; height:40px;'/>
</b:if>

5. Save the template 

You are done..

0 comments:

Post a Comment

Followers

Stats

Locations of visitors to this page

Total Pageviews