few days ago, 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.
<b:if cond='data:blog.pageType == "item"'> <iframe allowTransparency='true' expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&layout=standard&show_faces=false&width=100&action=like&font=arial&colorscheme=light"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:450px; height:40px;'/> </b:if>
Before doing any thing you must check Expand Widget Templates box.
And find the next Code
<div class='post-header-line-1'/>
<data:post.body/>
click Save Template and you are 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
- Update, How to make it appear on your home page.
<b:if cond='data:blog.pageType == "item"'>
</b:if>
I wish you all like it and please leave your comments if you need any help, to see demo for it please click here.
source : http://www.allblogtools.com
0 التعليقات:
Post a Comment