Tutorial : Like button di entry

Nak buat tak like button di setiap entry macam gambar di atas? Kalau nak, ikut step di bawah...


1) Log in blogger > Dashboard > Design > Edit Html > Tick Expand Widget

2) Search code ni.. 

data:post.body

3) Copy code ni dan paste kan di bawah code yang korang cari tadi..

 <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) Preview dulu, kalau menjadi, terus save!

No comments:

Post a Comment