Facebook Kamar Button da Hadakar WordPress

kamar

Tare da Maballin Facebook Kamar ƙaddamarwa, Ina tsammanin zan ɗan ɗan share daren yau kuma in haɗa shi a cikin shafin yanar gizo na WordPress. Na kuma haɗa shi a kan Matsakaici blog na abokin ciniki, suma, yau da daddare.

Mataki na farko yana da sauki - kawai ƙara lambar iframe zuwa shafukan samfuranku (fihirisa da guda ɗaya). Tunda shafin yanar gizan ku na iya samun sakonni da yawa, yana da mahimmanci a canza maɓallin a cikin madafan shafinku don haɗin haɗin dindindin ya kasance da kyau.

<iframe src="http://www.facebook.com/plugins/like.php?href=
& layout = button_count & mataki = kamar "scrolling =" no "frameborder =" 0 "allowTransparency =" gaskiya "style =" iyaka: babu; ambaliya: ɓoye; nisa: 250px; tsawo: px ">

Na kuma daidaita faɗin sannan kuma nayi wasu CSS don yawo maɓallin sama kusa da Mabudin Sake Sake Twitter. Dalilin da yasa waɗannan kayan aikin suke da kyau shine basu buƙatar shiga, kewayawa, da sauransu. Kawai kawai danna maɓallin kuma kun sanya matsayin akan Facebook (ko Twitter bi da bi).

Bugu da ƙari, za ku iya sanya bayanan meta a cikin rubutun shafin ku na Facebook don cirewa. Ga yadda na gyara nawa:

"/>

A ƙarshe, Ina fatan ganin wani ya rubuta ingantaccen plugin don yin wannan. Ban gwada don ganin wace hanya ce mafi kyau ba - tsarin iframe ko Facebook Javascript SDK hanya. Idan kun gano wani abu mai kyau wanda yake a can don kula da wannan, ku sanar dani!

13 Comments

  1. 1

    Ina da tambaya a gare ku, Bromance:

    2 dare da suka wuce nayi kokarin wasa da facebook dina kamar akwatin (a da facebook fan widget) don nawa "yadda zan buga littafin blues. da fatan ”shafin fan ne kuma yanzu ba zai yi lodi ba. Yana yin abin da yake yi akan Mashable a yanzu… ko WAS yana yi da yammacin Asabar.

    Shin yana rikici da Takaddara? GRRRR

  2. 2
  3. 3
  4. 4

    Na gode Jack! Ba tabbata ga abin da na yi ba, amma a zahiri ban ga maɓallin ya nuna lokacin da na yi amfani da kayan aikin ba.

  5. 5

    Kada a sami rikici ko kaɗan - amma yana iya ɗaukar wasu manyan tweaking tare da CSS don gano maɓallin inda kuke buƙatarsa. Ina da wuya na wahala.

  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11

Me kuke tunani?

Wannan shafin yana amfani da Akismet don rage spam. Koyi yadda aka sarrafa bayanan bayaninka.