Saturday, May 22, 2010

Share & Like Facebook Button

ditaip Unknown pada 5/22/2010 10:22:00 AM


Kelebihan button like & share ni ialah ia akan publish di facebook, kalau korang like entri tersebut. Dan kawan-kawan facebook lain akan teruja lah nak tengok apa yang korang like tu kan? So, traffic meningkat. Bagus kan?

Cara nak buat mudah je. Sebelum tu, jangan lupa backup dulu template tu ye.
Cara backup template,
masuk ke bahagian
Tengok sebelah kanan atas, klik
Klik
Save File.

Tandakan kotak Expand Widget Templates
Cari kod di bawah
<data:post.body/>
Tips untuk memudahkan pencarian,
Lihat keyboard korang, Tekan key Ctrl dan key F serentak.
Untuk pengguna Mozilla Firefox, korang akan nampak imej ni
Masukkan kod di ruang sebelah find, klik Next.
Paste kod ini selepas kod <data:post.body/> tadi.

Button Like
<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=280&amp;height=24&amp;action=like&amp;colorscheme=light"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:280px; height:24px'/>

Button Share
<div style="float:left;padding:0px;"><a expr:share_url='data:post.url' name='fb_share' rel='nofollow' type='button_count'/><script type="text/javascript" src="http://static.ak.fbcdn.net/connect.php/js/FB.Share"/>
</div>

Siap ^^
Button like & share akan muncul dibawah entry secara automatik.
Kalau rasa nak letak button like dan share diatas setiap entry, paste kan sebelum kod

<div class='post-body entry-content'>

kredit to : www.liyanaa.com dan www.arcx13.com






Dah habis baca ke? Jemput tinggalkan komen ◕‿◕



40 komen:

NARDtheNERD on May 22, 2010 at 10:44 AM said...

study kat umt ke dulu?...
ngeeheee~

Unknown on May 22, 2010 at 11:01 AM said...

yup..wah junior ;)

Neo_matrixzz on May 22, 2010 at 11:51 AM said...

lepak jap kat cni..

Unknown on May 22, 2010 at 11:58 AM said...

kak kira owg2 fb blh baca jugak ka??

Cik Syafika on May 22, 2010 at 2:06 PM said...

tq sis (:

Unknown on May 22, 2010 at 8:24 PM said...

Safie, nk lepak kena byr tol gak..kena jadik follower..kehkeh ;p

Unknown on May 22, 2010 at 8:24 PM said...

fatin hanani, yup, member2 kat fb boleh baca juga la.. :)

Unknown on May 22, 2010 at 8:25 PM said...

Cik Syafika, u're always welcome :)

Anonymous said...

salam kenal,
menariknya tutorial nih. nak try jugaklah. tq 4 sharing :)

Unknown on May 23, 2010 at 2:17 PM said...

eis, salam kenal juga..cuba, jgn tak cuba :)

RedBoys on May 23, 2010 at 2:58 PM said...

mommy, macam mana nak letak kod dalam kotak macam tu?? saya buat takleh laa...tolong buat tutorial macam mana nak letak kod dalam kotak...thanx

Unknown on May 23, 2010 at 6:33 PM said...

Mommy Pinky dah buat tutorial ;)

Unknown on May 23, 2010 at 10:49 PM said...

salam singgah dari blog mak putih..
dah try buat & menjadi... thanks.. ;)

Sarah Sylph on May 28, 2010 at 1:29 PM said...

thanks kak zana!
nk buat jugak..thanks.=)
tp tgu exam abes dulu..ngee~
skrg exam mid year..

mai la umah,mkan cekodok...hehe

Hani Syahida ✿ on June 25, 2010 at 11:51 AM said...

nak wt jugakk..tp kena backup templete lmbt sket..kena tggu intenet laju..nyway, tq ;-)

mrs.JamaL on July 1, 2010 at 3:06 PM said...

kalau ayat xde nak guna ayat yang mana

mrs.JamaL on July 1, 2010 at 3:07 PM said...

data post body ..ha.ayat ni yang x ade

Unknown on July 1, 2010 at 3:18 PM said...

@mrs.JamaL
Kalau tak de, tak leh buat lah..hehe
dah klik ke blum expand tu :)

Unknown on August 20, 2010 at 11:03 PM said...

mommy,,,sy ikut tutorial neyh dan dah jadi...aww~~makasih mommy pinky...suka2...^-^

Anonymous said...

mommy pinky, i ada prob sket nak wat share button. i ikut je flow yang mommy pinky buat. tapi tak leh. ble tak mommy pinky snap gambar macam gambar for like button tu? huuhh.. i nak share button ade kat every post. huuhhuh~

nurulyena on November 10, 2010 at 4:07 AM said...

mummy! tens! jadi! ;)

Anonymous said...

tak jadik la mommy.dya ckp Your template could not be parsed as it is not well-formed. Please make sure that all XML elements are closed properly.
XML error message: The element type "div" must be terminated by the matching end-tag ".asal ek?

Anonymous said...

ok.da buleh.thanks mommy :)

Huda Lee on January 8, 2011 at 5:10 PM said...

da buat . mekasih mommy pinky :)

Unknown on January 21, 2011 at 3:22 PM said...

tenkiu tuan umah for sharing tis tutorial. puas dah carik coding yang paling simple. finally, n its working. time kasih! :D

afeeqah on February 15, 2011 at 5:24 PM said...

thanx sis. senang je rupanya..

Miss Bluepinkiey on February 22, 2011 at 5:26 PM said...

suda wat!...dan menjadi!..thx owner blog..:)

cunndaa on March 3, 2011 at 7:59 PM said...

tengs mami....muahhhss kembali

Browacana on March 7, 2011 at 1:36 AM said...

Thanx Mommy Pinky!! Lepas buat terus jadi folower.. :)

Miyotlicious on March 29, 2011 at 5:44 PM said...

thanks mommy pinky :)

silvernitrate on June 5, 2011 at 4:30 PM said...

saya dh try...thank mommy pink...love it :D

ainko on June 10, 2011 at 4:37 PM said...

hai mommy pink..i use this tuto..thanx..i follow u..

anys nadhilah on June 22, 2011 at 9:56 PM said...

tq !

nurshaf on July 7, 2011 at 1:13 AM said...

dah boleh, thanks

Anonymous said...

tq:)

syahirah azwanie on August 6, 2011 at 10:09 PM said...

takreti la sys :'<

cik_PAIN on August 10, 2011 at 11:17 PM said...

thanks!! xoxo

cik violet on September 7, 2011 at 11:44 AM said...

thanks for this tutor ;)

Kanari Kokina on October 23, 2011 at 11:52 AM said...

mommy mcm mana nak buat facebook like button yg org masuk kena like kalau tak nk tunggu mcm mommy punye tuh?

✿IAS ADNAN✿ on November 16, 2011 at 3:07 PM said...

jadi2...! tima kaseyhh banyak2...(^_^)

:a :b :c :d :e :f

Post a Comment

 

Sign in
Copyright © 2021. All rights reserved
Hannah Marketing (002548446-P)