Thursday 23 June 2011

Tutorial Letak Facebook 'Like' button dalam Blog.








Cara-cara untuk meletakkan button like ini adalah seperti berikut.
1. Login akaun blogger, dari dashboard > design > edit HTML > expand widget templates
(
backup template untuk langkah berjaga²)

2. Menggunakan fungsi find (ctrl + F), cari kod berikut.

<data:post.body/>

3. Kemudian copy kod ini, dan paste di bawah kod yang anda cari di langkah 2.
<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;'/>


contoh:






4. Save dan lihat hasilnya.

No comments:

Post a Comment