Maramataka: Me pehea te Whakamau i te Pahūake Whakaritea me te Maramataka Whakauru ki to Paetukutuku, Paetukutuku WordPress ranei

Maramataka Whakaritenga Widget

I etahi wiki kua pahure ake nei, kei runga ahau i tetahi waahi ka kite ahau i taku panui i tetahi hono ki te whakarite i tetahi hui ki a ratou kaore au i kawea ki tetahi waahi waahi, tera tetahi widget i whakaputa i te Te Maramataka kaihōtaka tika i roto i te matapihi pakūake. He taputapu pai tenei… ko te pupuri i tetahi ki to papaanga he wheako pai ake i te tuku whakamua ki tetahi wharangi o waho.

He aha te Calendly?

Te Maramataka tuitui tika ki to Mokowāmahi Google ëtahi atu pünaha maramataka hei hanga i ngä puka whakarärangi he ataahua, he ngawari hoki ki te whakamahi. Ko te mea pai rawa atu, ka taea e koe te whakawhāiti i te wa ka tuku tetahi ki te hono atu ki a koe i runga i to maramataka. Hei tauira, he ruarua noa nga haora e waatea ana ahau i nga ra motuhake mo nga hui o waho.

He pai ake te whakamahi i te kaataka penei i te whakakii noa i te puka. Mo taku umanga tohutohu huringa matihiko, kei a matou nga huihuinga hoko roopu kei reira te roopu kaiarahi i te hui. Ka whakauru ano hoki i ta matou papaahi hui ipurangi ki Calendly kia uru mai nga powhiri maramataka nga hononga hui ipurangi katoa.

Kua whakarewahia e Calendly tetahi tuhinga widget me te pepa ahua e mahi pai ana ki te whakauru tika i te puka whakahōtaka ki tetahi wharangi, ka whakatuwherahia mai i te paatene, mai i te paatene maanu ranei i te hiku o to pae. He pai te tuhi o te tuhinga mo Calendly, engari ko nga tuhinga hei whakauru ki roto i to pae kaore i te pai. Inaa, kei te miharo ahau kaore ano a Calendly ki te whakaputa i ana ake monomai, taupānga ranei mo nga papaaho rereke.

He tino whai hua tenei. Ahakoa kei roto koe i nga ratonga kaainga me te hiahia ki te whakarato huarahi mo o kaihoko ki te whakarite i o raatau huihuinga, he kaikoi kuri, he kamupene SaaS e hiahia ana ki nga manuhiri ki te whakarite i tetahi demo, he kaporeihana nui ranei me nga mema maha e hiahia ana koe ki te whakarite ngawari ... Calendly me nga taputapu whakauru he taputapu mahi-whaiaro pai.

Me pehea te Whakamau Maramataka ki To Pae

He mea whakamiharo, ka kitea e koe nga tohutohu mo enei whakaurunga i te Momo Takahanga taumata engari ehara i te taumata kaupapa i roto i to putea Calendly. Ka kitea e koe te waehere i te takaiho mo nga tautuhinga o te momo huihuinga kei te taha matau o runga.

tāmau marama

Ka paato ana koe, ka kite koe i nga whiringa mo nga momo whakauru:

tāmau kuputuhi pakūake

Mena ka mau koe i te waehere me te whakauru ki nga waahi katoa e hiahia ana koe ki to pae, he iti noa nga take.

  • Mena kei te pirangi koe ki te waea atu i etahi widget rereke i runga i te wharangi kotahi… tera pea he paatene e whakarewa ana i te kaihōtaka (Kupu Pahūake) tae atu ki te paatene hiku (Wāhitau Pahūake)… ka taapirihia e koe te pepa ahua me te tuhi tuhi takirua. o nga wa. Kare e tika ana.
  • Ko te karanga i tetahi tuhinga tuhi me te konae pepa ahua i roto i to papaanga ehara i te huarahi tino pai ki te taapiri i te ratonga ki to pae.

Ko taku kupu tohutohu ko te uta i te pepa ahua me te Javascript ki to pane… katahi ka whakamahi i etahi atu widget e whai tikanga ana puta noa i to papaanga.

Me pehea te mahi a Calendly's Widgets

Te Maramataka e rua nga konae hei whakauru ki to pae, he pepa ahua me te javascript. Mena kei te whakauru koe i enei ki to papaanga, ka taapirihia e ahau nga mea e whai ake nei ki te waahanga upoko o to HTML:

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

Heoi, mena kei roto koe i te WordPress, ko te mahi pai ko te whakamahi i to functions.php ki te whakauru i nga tuhinga ma te whakamahi i nga tikanga pai a WordPress. Na, i roto i taku kaupapa tamaiti, kei a au nga rarangi waehere e whai ake nei hei uta i te pepa ahua me te tuhinga:

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

Ka utaina enei (ka keteroki) puta noa i taku papaanga. Inaianei ka taea e au te whakamahi i nga widget ki taku hiahia.

Patene Hiku a Calendly

Kei te pirangi au ki te karanga i te huihuinga motuhake kaua ki te momo huihuinga i runga i taku papaanga, no reira kei te utaina e au te tuhinga e whai ake nei ki taku hiku:

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

Ka kite koe i te Te Maramataka ka pakaru te tuhinga penei:

  • URL – te kaupapa tika e hiahia ana ahau ki te uta i roto i toku widget.
  • kuputuhi – te kuputuhi e hiahia ana ahau ki te paatene.
  • Tae – te tae papamuri o te paatene.
  • Tae kupu – te tae o te tuhinga.
  • waitohu – te tango i te tohu Calendly.

Pahūake Kuputuhi a Calendly

Kei te pirangi ano ahau kia waatea tenei puta noa i taku papaanga ma te whakamahi i te hono, te paatene ranei. Hei mahi i tenei, ka whakamahi koe i tetahi huihuinga onClick i roto i to Te Maramataka kupu punga. Kei aku karaehe taapiri hei whakaatu hei paatene (kaore e kitea i te tauira i raro nei):

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

Ka taea te whakamahi i tenei karere kia maha nga tuku i runga i te wharangi kotahi. E toru pea nga momo kaupapa e pirangi ana koe ki te whakauru… whakarereke noa i te URL mo te waahi e tika ana ka whai hua.

Pahūake Tāmau Raina a Calendly

He paku rereke te whakaurunga-roto i te mea ka whakamahia e ia he div e kiia ana e te karaehe me te waahi.

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

Ano, he pai tenei na te mea ka taea e koe te maha o nga divs me ia Te Maramataka kaihōtaka i te wharangi kotahi.

Te tuhipoka taha: Ko taku hiahia kia whakarereketia e Calendly te huarahi i whakatinanahia ai kia kore ai e tino hangarau. He pai mena ka taea e koe te whai karaehe katahi ka whakamahi i te href ūnga ki te uta i te widget. Ka iti ake te tohu tohu tika puta noa i nga punaha whakahaere ihirangi. Engari… he taputapu pai (mo tenei wa!). Hei tauira - he mono WordPress me nga waehere poto ka pai mo te taiao WordPress. Mena kei te pirangi koe, Calendly… Ka taea e au te hanga i tenei maau!

Tīmatahia ki a Calendly

Whakakahoretanga: He kaiwhakamahi ahau no Calendly, he hononga ano hoki mo ta raatau punaha. He hononga hono tenei tuhinga puta noa i te tuhinga.