<div>Ikut langkah langkah dibawah..
<b:if cond='data:post.isFirstPost'>
<script>(function(d){
var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
d.getElementsByTagName('head')[0].appendChild(js);
}(document));</script>
</b:if>
<fb:like expr:href="data:post.url" layout='button_count' send='false' show_faces='false' font="arial" action="like" colorscheme="light"></fb:like>
</div>
Langkah 1
Cari kod html <data:post.body/>.Tekan butang 'next' pd sebelah find box.Terdapat dua kod <data:post.body/>..Pilih yg kt atas.Then copy kod Fb like button pastekan sebelum atau selepas kod <data:post.body/>.
Contoh :
Pilihan 1 - Button berada diatas Entry blog (paste Sebelum kod <data:post.body/>)
<div>
<b:if cond='data:post.isFirstPost'>
<script>(function(d){
var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
d.getElementsByTagName('head')[0].appendChild(js);
}(document));</script>
</b:if>
<fb:like expr:href="data:post.url" layout='button_count' send='false' show_faces='false' font="arial" action="like" colorscheme="light"></fb:like>
</div><data:post.body/>.
Pilihan 2 - Button berada dibawah Entry blog (paste Selepas kod <data:post.body/>)
<data:post.body/><div>
<b:if cond='data:post.isFirstPost'>
<script>(function(d){
var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
d.getElementsByTagName('head')[0].appendChild(js);
}(document));</script>
</b:if>
<fb:like expr:href="data:post.url" layout='button_count' send='false' show_faces='false' font="arial" action="like" colorscheme="light"></fb:like>
</div>
Langkah 2
Tekan button preview untuk memastikan kod itu dipastekan ditempat yg betul.Jika keluar like button seperti yg ditunjukkan pd gmbar diatas.Tekan save template.
Selamat mencuba !


4:28 AM
Nrf

