6 April 2012

Tutorial : Letak like button di setiap Entry

Assalamuaalikum dan Hai.


Nak tak buat macam tu? Ada like button. Ekceli, tutorial ini Farah Nurizzaty yang request kat SINI. Hehehehe. So, jom start!

1- Dashboard > Design > Edit HTML
2- Pastikan korang TICK Expand Widget Templates.
3- CTRL+F cari kod ini:
<data:post.body/>
4- Dah jumpa? kalau ada dua, korang amik yang first tu okay?
5- Copy kod kat bawah ni pula :
<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'/> 
6- Pastekan kat BAWAH <data:post.body/> kay? tengok gambar ni kalau tak faham.


6- Preview dulu. If tak de error, Save okay? 

Okay. dah siap! Good luck :)

4 comments:

Your words defines you