Webchat config on wordpress/php

Good day all,

The scenario:

I am lost on how to get the widget to load on a php/wordpress site.

If i make a normal index.html site i can get the widget loaded, but i am nt clued up enough to get it working on php site :frowning:

Any help would be greatly appreciated.

The full page example at the bottom of the page you linked shows all the parts needed to implement web chat in your page. Keep in mind that a PHP page is a server-side script, and the web chat scripts are client-side JavaScript. You won't write any PHP code that interfaces directly with web chat, you'll just include the appropriate JavaScript and HTML in the rendered page for it to function client side.

You can also see a functional example at https://developer.mypurecloud.com/developer-tools/#/webchat.

Thanks Tim, Im just lost as to where can i call the js code on a wp/php generated html page?

Im not sure where I need to insert the code on a Wordpress deployment.

But thanks.

Assistance with customizing wordpress is outside the scope of this forum. If you need general development assistance, Genesys PS may be hired to assist with implementing web chat, though I can't guarantee they have a wordpress development skillset. You may need to hire wordpress development assistance from outside of Genesys. If you wish to engage Genesys PS, your Sales or Customer Success contact can begin that process.

No problem Tim, was just looking for some tips on how to add the widget code to a dynamic content management system, like wordpress.
I think I am getting somewhere, slowly. :slight_smile:

Thanks for the reply, have a super day.

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.