I-Facebook Njenge-Button ne-WordPress Integration

like

Nge Inkinobho ye-Facebook Like ukwethulwa, bengicabanga ukuthi ngizochitha isikhathi kusihlwa ngikuhlanganise nebhulogi lami le-WordPress. Ngiphinde ngayihlanganisa ku-a Ukuhlanganiswa ibhulogi yekhasimende, futhi, kulobubusuku.

Isinyathelo sokuqala silula - mane ungeze ikhodi ye-iframe kumakhasi wakho wethempulethi (inkomba futhi eyodwa). Njengoba ikhasi lakho lenkomba lingaba nokuthunyelwe okuningi, kubalulekile ukuguqula inkinobho engaphakathi kwekhasi lakho lekhasi ukuze isixhumanisi esihlala njalo sifakwe kahle.

<iframe src="http://www.facebook.com/plugins/like.php?href=
& layout = button_count & action = like "scrolling =" no "frameborder =" 0 "allowTransparency =" iqiniso "style =" border: none; ukuchichima: kufihliwe; ububanzi: 250px; ukuphakama: px ">

Ngibuye ngaguqula ububanzi ngabe sengenza enye i-CSS ukuntanta inkinobho eduze kwe Inkinobho ye-Twitter Retweet. Isizathu sokuthi kungani la mathuluzi emakhulu kangaka ukuthi awadingi ukungena ngemvume, ukuzulazula, njll. Umane uchofoze inkinobho bese usithumele isimo ku-Facebook (noma ku-Twitter ngokulandelana).

Ngokwengeziwe, ungafaka idatha ye-meta kunhlokweni webhulogi yakho ye-Facebook oyikhiphe. Nakhu ukuthi ngiyihlele kanjani eyami:

"/>

Ekugcineni, ngithemba ukubona umuntu ebhala i-plugin enhle ukwenza lokhu. Angizange ngivivinye ukubona ukuthi iyiphi indlela engcono - indlela ye-iframe noma indlela ye- I-Facebook JavaScript SDK indlela. Uma ngabe ukhombe i-plugin enhle laphaya ukunakekela lokhu, ngazise!

13 Amazwana

  1. 1

    Ngikubuzele umbuzo, Bromance:

    Ubusuku obungu-2 obudlule ngazama ukudlala ne-facebook yami efana nebhokisi (phambilini eyayiyiwijethi yabalandeli be-facebook) yami yokuthi "ungayishicilela kanjani incwadi ye-blues. ngethemba ”ikhasi labalandeli futhi manje ngeke lilayishe. Yenza lokho ekwenzayo ku-Mashable khona manje… noma UBENZA ekuqaleni kukaMgqibelo ntambama.

    Ingabe iyaphikisana neThesis? I-GRRRR

  2. 2
  3. 3
  4. 4

    Ngiyabonga Jack! Angiqiniseki ukuthi ngenzeni, kepha empeleni angibonanga ukuthi inkinobho ivele lapho ngisebenzisa i-plugin.

  5. 5

    Akufanele kube khona ukungqubuzana nhlobo - kepha kungathatha ukulungisa okukhulu nge-CSS ukuthola inkinobho lapho uyidinga khona. Ngaba nesikhathi esinzima kakhulu.

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

    Kepha ikhodi ibonakala ingaphelele njengoba i-II ikopishele le khodi ekhasini le-w wp. Ngicabanga ukuthi ngidinga ukufaka ezinye izinto ukuze zikusebenze ekhasini lami.

  11. 11

UCABANGANI?

Le sayithi isebenzisa i-Akismet ukunciphisa ugaxekile. Funda ukuthi idatha yakho yokuphawula isetshenziswa kanjani.