KwiKhalenda: UIfakela njani iPopu yokucwangcisa okanye iKhalenda eZinzisiweyo kwiWebhusayithi yakho okanye kwisiza seWordPress

Iwijethi yokuCwangcisa ngeKhalenda

Kwiiveki ezimbalwa ezidlulileyo, ndandikwisayithi kwaye ndaqaphela xa ndicofa ikhonkco ukucwangcisa idinga kunye nabo ukuba andizange ndiziswe kwindawo ekuyiwa kuyo, kwakukho iwijethi epapashe Ikhalenda Umcwangcisi ngokuthe ngqo kwifestile evelelayo. Esi sisixhobo esihle…ukugcina umntu kwindawo yakho ngamava angcono kakhulu kunokumthumela kwiphepha langaphandle.

Yintoni iCalend?

Ikhalenda idibanisa ngqo neyakho Indawo yokusebenzela kaGoogle okanye enye inkqubo yekhalenda yokwakha iifom zokucwangcisa ezintle kwaye kulula ukuzisebenzisa. Okona kulungileyo, unokulinciphisa ixesha ovumela umntu ukuba aqhagamshelane nawe kwikhalenda yakho. Njengomzekelo, ndihlala ndineeyure ezimbalwa ezifumanekayo ngeentsuku ezithile zeentlanganiso zangaphandle.

Ukusebenzisa umcwangcisi ofana nalo ikwangamava angcono kakhulu kunokugcwalisa ifomu. Eye-yam ifemu yokubonisana ngenguqu yedijithali, sineziganeko zokuthengisa iqela apho iqela lobunkokeli likwintlanganiso. Sikwadibanisa iqonga lethu leentlanganiso zewebhu kwiKhalenda ukuze izimemo zekhalenda zibandakanye onke amakhonkco eentlanganiso ze-intanethi.

I-Calendly isungule iscript sewijethi kunye necwecwe lesimbo elenza umsebenzi omhle ekuzinziseni ifom yokucwangcisa ngokuthe ngqo kwiphepha, elivulwe kwiqhosha, okanye nakwiqhosha elidadayo elikumazantsi esayithi lakho. Iskripthi seCalandly sibhalwe kakuhle, kodwa amaxwebhu okusidibanisa kwindawo yakho awalunganga kwaphela. Ngapha koko, ndiyothusa into yokuba iCalendly ingekapapashi iiplagi zayo okanye ii-apps zamaqonga ahlukeneyo.

Oku kuluncedo kakhulu. Nokuba ukwiinkonzo zasekhaya kwaye ufuna ukunika abathengi bakho iindlela zokucwangcisa idinga labo, umntu ohamba ngezinja, inkampani ye-SaaS efuna iindwendwe zicwangcise idemo, okanye ikomishoni enkulu enamalungu amaninzi kufuneka uwacwangcise ngokulula… Calendly kunye neewijethi zokuzinzisa sisixhobo esikhulu sokuzisebenzela.

Uzinzisa njani ngeKhalenda kwiNdawo yakho

Okumangalisayo kukuba, uya kufumana kuphela umkhomba-ndlela koku kuzinziswa e Uhlobo lomsitho inqanaba kwaye hayi elona nqanaba lomsitho kwiakhawunti yakho yeKhalenda. Uya kufumana ikhowudi kwindawo eyehlayo yoseto lohlobo lomnyhadala phezulu ngasekunene.

uzinzise ngokukhawuleza

Nje ukuba ucofe loo nto, uya kubona iinketho zeentlobo zokuzinzisa:

lungisela okubhaliweyo okuzivelelayo

Ukuba ubamba ikhowudi kwaye uyifake naphi na apho uthanda khona kwindawo yakho, kukho imiba embalwa.

  • Ukuba ufuna ukubiza iiwidget ezininzi ezahlukeneyo kwiphepha elinye… mhlawumbi uneqhosha elizisa umcwangcisi (Popup Text) kunye neqhosha elisezantsi (Popup Widget)… uzakongeza icwecwe lesimbo kunye nesibini esibhalwe phantsi. amaxesha. Oko akuyomfuneko.
  • Ukufowunela iskripthi sangaphandle kunye nefayile yesimbo kwi-intanethi kwindawo yakho ayisiyiyo eyona ndlela ilungileyo yokongeza inkonzo kwindawo yakho.

Ingcebiso yam iya kuba kukulayisha i-stylesheet kunye ne-Javascript kwi-header yakho… emva koko sebenzisa ezinye iiwijethi apho zivakala khona kwindawo yakho yonke.

Zisebenza njani iiWidgets zeCalend

Ikhalenda ineefayile ezimbini ezifunekayo ukuze uzinzise kwindawo yakho, icwecwe lesimbo kunye nejavascript. Ukuba uzakufaka ezi ndawo kwindawo yakho, ndongeza oku kulandelayo kwicandelo lentloko yeHTML 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>

Nangona kunjalo, ukuba ukwi-WordPress, eyona ndlela ilungileyo inokuba kukusebenzisa eyakho Imisebenzi.php ifayile yokufaka izikripthi usebenzisa iindlela ezilungileyo zeWordPress. Ke, kumxholo womntwana wam, ndinemigca elandelayo yekhowudi yokulayisha icwecwe lesimbo kunye neskripthi:

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

Oko kuya kulayisha ezi (kwaye uzigcine) kuyo yonke indawo yam. Ngoku ndingasebenzisa amawijethi apho ndingathanda khona.

IQhosha leKhalenda laseMazantsi

Ndifuna ukubiza umsitho othile kunohlobo lomnyhadala kwindawo yam, ke ndilayisha esi script silandelayo kumazantsi am:

<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>

Uya kubona Ikhalenda iskripthi siqhekeka ngolu hlobo lulandelayo:

  • URL – owona msitho ufuna ukuwulayisha kwiwijethi yam.
  • Umbhalo – isicatshulwa endifuna ukuba iqhosha libe nalo.
  • umbala – umbala ongasemva weqhosha.
  • UmbhaloColor - umbala wombhalo.
  • Ukufaka uphawu – ukususa uphawu lweKhalenda.

I-Calend's Text Popup

Ndifuna ukuba oku kufumaneke kuyo yonke indawo yam usebenzisa ikhonkco okanye iqhosha. Ukwenza oku, usebenzisa i-onClick umnyhadala kwindawo yakho Ikhalenda umbhalo we-ankile. Eyam ineeklasi ezongezelelweyo ukuyibonisa njengeqhosha (elingabonwanga kumzekelo ongezantsi):

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

Lo myalezo ungasetyenziswa ukuba ube neminikelo emininzi kwiphepha elinye. Mhlawumbi uneentlobo ezi-3 zemisitho ongathanda ukuyizinzisa... guqula kancinane i-URL yendawo eyiyo kwaye izakusebenza.

I-Calend's Inline Embed Popup

Uzinziso lwe-inline lwahluke kancinane kuba lusebenzisa i-div ebizwa ngokuthe ngqo ludidi kunye nendawo ekuyiwa kuyo.

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

Kwakhona, oku kuluncedo kuba unokuba nee-div ezininzi ngayo nganye Ikhalenda umcwangcisi kwiphepha elifanayo.

Inqaku elisecaleni: Ndinqwenela ukuba uCalendly aguqule indlela oku kuphunyezwe ngayo ukuze kunganyanzelekanga ukuba ibe nobuchule obungaka. Kuya kuba kuhle ukuba unokuba neklasi kwaye emva koko usebenzise indawo ye href ukulayisha iwijethi. Oko kuya kufuna ukukhowudwa ngokuthe ngqo ngokuthe ngqo kuzo zonke iinkqubo zolawulo lomxholo. Kodwa… sisixhobo esihle (okwangoku!). Umzekelo - iplagi ye-WordPress ene-shortcodes iya kuba yinto efanelekileyo kwi-WordPress environment. Ukuba unomdla, Calandly… Ndingakwakhela oku ngokulula!

Qalisa ngeCalend

I-Disclaimer: Ndingumsebenzisi weCalandly kwaye ndikwangumhlobo wenkqubo yabo. Eli nqaku linamakhonkco adibeneyo kulo lonke inqaku.