Friday, March 25, 2011

FACEBOOK LIKE BUTTON BELOW EVERY POST ♥

1. Dashboard - Design - Edit HTML - Expand  Widgets Template 
2. Tekan CTRL+F and search for this code: 
data:post.body

3. Then, paste code nih:
<iframe allowTransparency='true' expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&amp;layout=standard&amp;show-faces=true&amp;width=530&amp;height=60&amp;action=like&amp;colorscheme=light"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:530px; height:60px'/>  
kena pastekan kat bawah code atas tadi. contoh:
data:post.body
<iframe allowTransparency='true' expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&amp;layout=standard&amp;show-faces=true&amp;width=530&amp;height=60&amp;action=like&amp;colorscheme=light"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:530px; height:60px'/>
4. tapi, make sure preview dulu before save k? 
Good Luck :D 

No comments:

Post a Comment