Khalenda: Ungashumeka Kanjani I-Popup yokuhlela noma Ikhalenda Elishumekiwe Kuwebhusayithi Yakho noma Isizinda Se-WordPress

Ukuhlela Iwijethi Yesikhashana

Emasontweni ambalwa edlule, bengisendaweni futhi ngabona uma ngichofoza isixhumanisi ukuhlela i-aphoyintimenti nabo ukuthi angizange ngilethwe endaweni okuyiwa kuyo, bekunewijethi eshicilele Ngokukhazimulayo umhleli ngqo efasiteleni le-popup. Leli ithuluzi elihle… ukugcina othile kusayithi lakho kuyinto engcono kakhulu kunokumdlulisela ekhasini langaphandle.

Iyini i-Calend?

Ngokukhazimulayo ihlanganisa ngqo neyakho Indawo Yokusebenzela yakwaGoogle noma olunye uhlelo lwekhalenda lokwakha amafomu okuhlela amahle futhi asebenziseka kalula. Okuhle kunakho konke, ungakwazi ngisho nokukhawulela isikhathi ovumela ngaso othile ukuthi axhumane nawe ekhalendeni lakho. Njengesibonelo, ngivame ukuba namahora ambalwa kuphela atholakala ngezinsuku ezithile zemihlangano yangaphandle.

Ukusebenzisa umhleli ofana nalona nakho kuyinto engcono kakhulu kunokugcwalisa ifomu. Okwami inkampani yokubonisana noguquko lwedijithali, sinemicimbi yokuthengisa yeqembu lapho ithimba labaholi lisemhlanganweni. Futhi sihlanganisa inkundla yethu yomhlangano wewebhu ku-Calend ukuze izimemo zekhalenda zihlanganisa zonke izixhumanisi zomhlangano eziku-inthanethi.

I-Calendly yethule iskripthi sewijethi neshidi lesitayela elenza umsebenzi omuhle kakhulu ekushumekeni ifomu lokuhlela ngokuqondile ekhasini, elivulwe enkinobho, noma ngisho nasenkinobho entantayo kunyaweni yesayithi lakho. Iskripthi se-Calandly sibhalwe kahle, kodwa imibhalo yokuyihlanganisa nesayithi lakho ayilungile neze. Eqinisweni, kuyangimangaza ukuthi i-Calendly isazoshicilela ama-plugin ayo noma izinhlelo zokusebenza zamapulatifomu ahlukene.

Lokhu kuwusizo ngendlela emangalisayo. Kungakhathaliseki ukuthi unamasevisi asekhaya futhi ufuna ukunikeza amakhasimende akho indlela yokuhlela isikhathi sawo sokuhlangana, umuntu ohamba ngezinja, inkampani ye-SaaS efuna izivakashi zihlele idemo, noma inkampani enkulu enamalungu amaningi owadingayo ukuze uwahlele kalula... futhi amawijethi ashumekiwe ayithuluzi elihle lokuzisiza.

Ungashumeka Kanjani Ngekhalenda Engosini Yakho

Okuxakayo, uzothola izikhombisi-ndlela kulokhu kushumeka ku- Uhlobo lomcimbi ileveli hhayi ileveli yomcimbi wangempela ngaphakathi kwe-akhawunti yakho ye-Calandly. Uzothola ikhodi kokwehliswayo kwezilungiselelo zohlobo lomcimbi phezulu kwesokudla.

shumeka kalula

Uma usuchofoze lokho, uzobona izinketho zezinhlobo zokushumeka:

shumeka umbhalo we-popup

Uma ubamba ikhodi bese uyishumeka noma yikuphi lapho ongathanda khona kusayithi lakho, kunezinkinga ezimbalwa.

  • Uma ufuna ukubiza amawijethi ambalwa ahlukene ekhasini elilodwa... mhlawumbe ube nenkinobho eyethula isihleli (I-Popup Text) kanye nenkinobho yaphansi (Iwijethi Ye-Popup)… uzokwengeza ishidi lesitayela bese ubhala umbhangqwana. izikhathi. Lokho akudingekile.
  • Ukushayela iskripthi sangaphandle kanye nefayela leshidi lesitayela emgqeni kusayithi lakho akuyona indlela engcono kakhulu yokwengeza isevisi kusayithi lakho.

Isincomo sami kungaba ukulayisha ishidi lesitayela ne-Javascript kunhlokweni yakho... bese usebenzisa amanye amawijethi lapho enengqondo kuyo yonke isayithi lakho.

Indlela Amawijethi E-Calendly Asebenza Ngayo

Ngokukhazimulayo inamafayela amabili adingekayo ukuze ashumekwe kusayithi lakho, ishidi lesitayela ne-javascript. Uma uzofaka lokhu kusayithi lakho, ngizofaka okulandelayo engxenyeni eyinhloko ye-HTML yakho:

<link href="https://calendly.com/assets/external/widget.css" rel="stylesheet">
<script src="https://calendly.com/assets/external/widget.js" type="text/javascript"></script>

Kodwa-ke, uma uku-WordPress, umkhuba omuhle kakhulu kungaba ukusebenzisa eyakho imisebenzi.php ifayela ukuze ufake imibhalo usebenzisa imikhuba engcono kakhulu ye-WordPress. Ngakho-ke, endikimbeni yengane yami, nginemigqa elandelayo yekhodi yokulayisha ishidi lesitayela nesikripthi:

wp_enqueue_script('calendly-script', '//assets.calendly.com/assets/external/widget.js', array(), null, true);
wp_enqueue_style('calendly-style', '//assets.calendly.com/assets/external/widget.css' );

Lokho kuzolayisha lezi (futhi kuzigcine kunqolobane) kuyo yonke isayithi lami. Manje sengingakwazi ukusebenzisa amawijethi lapho ngingathanda khona.

Inkinobho Yasezansi kaCalendly

Ngifuna ukubiza umcimbi othile kunohlobo lomcimbi kusayithi lami, ngakho-ke ngilayisha umbhalo olandelayo kunyaweni yami:

<script type="text/javascript">window.onload = function() { Calendly.initBadgeWidget({ url: 'https://calendly.com/highbridge-team/sales', text: 'Schedule a Consultation', color: '#0069ff', textColor: '#ffffff', branding: false }); }</script>

Uzobona Ngokukhazimulayo iskripthi sihlukaniswa kanje:

  • I-URL - umcimbi engifuna ukuwulayisha kuwijethi yami.
  • Umbhalo – umbhalo engifuna inkinobho ube nawo.
  • Color - umbala wangemuva wenkinobho.
  • umbhaloUmbala – umbala wombhalo.
  • Ukufaka uphawu - ukususa uphawu lwe-Calendly.

I-Popup Yombhalo kaCalend

Futhi ngifuna lokhu kutholakale kusayithi lami lonke usebenzisa isixhumanisi noma inkinobho. Ukwenza lokhu, usebenzisa umcimbi we-OnClick kweyakho Ngokukhazimulayo umbhalo we-anchor. Elami linamakilasi engeziwe azolibonisa njengenkinobho (elingabonwa esibonelweni esingezansi):

<a href="#" onclick="Calendly.initPopupWidget({url: 'https://calendly.com/highbridge-team/sales'});return false;">Schedule time with us</a>

Lo mlayezo ungasetshenziswa ukuze ube neminikelo eminingi ekhasini elilodwa. Mhlawumbe unezinhlobo ezingu-3 zemicimbi ongathanda ukuyishumeka... vele ulungise i-URL yendawo efanele futhi izosebenza.

I-Popup yokushumeka emgqeni we-Calendly

Ukushumeka okusemgqeni kuhluke kancane ngoba kusebenzisa i-div ebizwa ngokukhethekile ngekilasi nendawo.

<div class="calendly-inline-widget" data-url="https://calendly.com/highbridge-team/sales" style="min-width:320px;height:630px;"></div>

Futhi, lokhu kuyasiza ngoba ungaba nama-div amaningi ngakunye Ngokukhazimulayo umhleli ekhasini elifanayo.

Inothi eseceleni: Ngifisa sengathi i-Calendly iguqule indlela lokhu okusetshenziswe ngayo ukuze kungadingeki ukuthi kube zobuchwepheshe. Kungaba kuhle uma ungase ube nekilasi bese usebenzisa i- href ukuze ulayishe iwijethi. Lokho kuzodinga ukubhalwa kwekhodi okuqondile kancane kuwo wonke amasistimu okuphatha okuqukethwe. Kodwa… iyithuluzi elihle (okwamanje!). Isibonelo - i-plugin ye-WordPress enama-shortcode ingaba yinhle endaweni ye-WordPress. Uma uthanda, Calendly… Ngingakwakhela lokhu kalula!

Qalisa Nge-Calendly

Umusho wokuzihlangula: Ngingumsebenzisi we-Calendly futhi ngiyinxusa lesistimu yabo. Lesi sihloko sinezixhumanisi ezihambisanayo kuso sonke isiqephu sendatshana.