Wednesday, May 19, 2010

Add the Facebook Like Button Below every Post

5

FaCebOok like Button
Do you wanna your blog have 'like' facebook button ??
1. Log in to blogger.com
2. Click On Layouts and Edit Html
3. Click on Expand Widget Templates
4. Find This Code (Ctrl + F)

5. Paste This Code After 1st 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.url + &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>


You also can change :
•The color by changing colorscheme=light to colorscheme=dark
•The width and height (see the above snippets)
•The “Like” word to “Recommended” by changing action=like to action= recommend
•Show faces by changing show_faces=false to show_faces=true.
•And turn off Send by applying send=true to send=false.
•Change like style layout=standard - layout=box_count or layout=button_count

Updated !!!~

5 GigitaN:

apsal sy xleh nak save template eh? ;(

same2, xleh la bro
dah try tapi dia cakap xleh save

sorry guys.. ada msalah kowt.. oke dah repair..

da boleh. . .
thankss... ^__^

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More