Add FaceBook Like Button For Blogger


Login To Blogger Go To > Design > Edit HTML.

and mark the tick box "Expand Widget Templates"

Now find (CTRL+F) this code in the template.
<div class='post-header-line-1'/>
And after it, paste This 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>
If you didn’t find the code above in your template, The try to find the following,
<data:post.body/>
And Before it, paste The button code:
Now click Save the Template and your done.

in the above code change the following parts,

like this part controls the verb that appear on your button, keep it as you see or change it to recommend if you want.

arial this part controls the font type, keep it or change it to one of the following,

lucida+grande
segoe+ui
tahoma
trebuchet+ms
verdana

light this part controls your button color theme, and you have three options, light, evil, or dark

2 comments so far:

Ishara said...

Realy...Niceee

Warrior said...

thanks for the tutorial..its very helpul.

Post a Comment

 
Royal Tutor © 2011 | Privacy Policy | Powered by Blogger | Back to top