Search This Blog

Tuesday, May 15, 2012

Memasang Tombol Like Facebook di Blogspot

Cara memasang tombol like di blogspot adalah :

1. Buka Edit HTML Blogger, Bakup template, Centang Expand Widget Templates.
2. Cari kode <data:post.body/> dan letakkan script dibawah ini dibawah kode <data:post.body/>.

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div id='fb-root'/>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = &quot;//connect.facebook.net/id_ID/all.js#xfbml=1&quot;;
fjs.parentNode.insertBefore(js, fjs);
}(document, &#39;script&#39;, &#39;facebook-jssdk&#39;));</script>
<div class='fb-like' data-send='false' data-show-faces='false' data-width='300'/>
</b:if>

3. Simpan template dan lihat hasilnya.

3 comments:

Link Exchange

Copy Paste kode dibawah ke blog anda. Link akan tampak seperti:


My Link

Back Link



  © Blogger templates The Professional Template by Ourblogtemplates.com 2008

Back to TOP