Followers

Friday 30 September 2011

FACEBOOK LIKE BUTTON

ADD FACEBOOK LIKE BUTTON AND CUSTOMIZE IT
(FOR BLOGGERS)







face book surprised us by launching a lot of social plugins, one of them, actually
the most popular one yet is the famous like button,
In this tutorial you’ll learn how to add it to your blogger blog.
and you’ll learn how to customize
  • change the verb, like or recommend.
  • change it’s color.
  • change it’s font.


Step 1. adding it to your template.
The button 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>






Step 2. Customize your button & Demo.
in the above code you can customize 3 parts. and i’ve colored them to make it easy for you to recognize,
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, lightevil, or dark
  • Update, How to make it appear on your home page.
 in the button code there are two parts you’ll need to remove to make this button appear on your home page, the first line and the last line, if you still don’t under stand, please see the following parts and delete it before pasting the code to your template,


<b:if cond='data:blog.pageType == &quot;item&quot;'>
</b:if>




I wish you all like it and please leave your comments if you need any help....

No comments:

Post a Comment