Friday, 20 July 2012

Tutorial : Button Like Facebook Pada Entri Post (kedudukan bawah post entry)

Button "LIKE" facebook yang dimaksudkan adalah seperti yang di atas.
Sila ikuti langkah2 di bawah untuk meletakkan button tersebut setiap post entry anda..

1) Pergi


Dashboard > Design > Edit HTML > Tick kotak "Expand Widget Template"

(jangan lupa "backup template" terlebih dahulu sebelum melakukan apa-apa perubahan pada skrip html, sebagai langkah berjaga-jaga)

2)  Dengan menggunakan ctrl + F , cari kod  


<data:post.body/>

Letakkan kod di bawah  SELEPAS kod <data:post.body/> yang anda cari di langkah 2 tadi


<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;'/> 

* Rupa kod anda akan jadi seperti ini 
<data:post.body/> 
<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;'/>
 


 3) Save dan lihat hasilnya. Selamat mencuba! ^.^
Sila like kalau suka & jangan lupa tekan button "Donate"..TQ..^.^



3 comments:

Anonymous said...

At thiѕ timе it seems like Dгupal iѕ the prefeгred blogging platform out there right noω.
(frοm what I've read) Is that what you're using
on youг blog?

Also visіt mу ωeb-ѕite; cheap luxury boat motors for sale online

Anonymous said...

Thanks on your mаrvelоus pοsting!
I genuіnely enjoyed reading it, you may be a great author.
I will alwаys booκmark your blog and wіll eνеntually come baсk later
οn. Ӏ want to enсourage that you сontinue your greаt wгiting, havе a nіce afternoon!



Ѕtop by my web blog: Treppenlift Kosten

Anonymous said...

I rеad this piece of writing completеlу conceгning the compаrison of latest and eaгlier tеchnοlogies, it's remarkable article.

Also visit my blog :: best cheap stairlift online

Penaja Blog