Skip to content

Enable Cloud Voice Live Chat on WordPress Website

Once you have generated the Live Chat code snippet, you can drop it into your WordPress site’s footer. A chat widget then appears in the lower-right corner of every page, letting visitors start a live conversation with your agents. WordPress gives you two ways to add the snippet: through the built-in theme editor or with the WPCode plugin. Pick whichever suits your setup.

You have already created a live chat channel and copied its Live Chat code snippet.

Option 1: Add the snippet with the theme editor

Section titled “Option 1: Add the snippet with the theme editor”

Use this method when you want to add the snippet directly, without installing anything extra.

  1. Sign in to your WordPress admin panel.

  2. In the left sidebar, go to Appearance > Themes and click Customize on the theme you want to edit.

    Cloud Voice, the WordPress Themes page with the Customize button on the active theme

  3. In the left sidebar, click Pages and open the page you want to edit.

    Cloud Voice, editing a page inside the WordPress Customizer

  4. In the top-right corner, click the more-options icon More options icon, then select Code editor.

    Cloud Voice, opening the Code editor from the page options menu

  5. Scroll to the bottom of the editor, paste the Live Chat code snippet, then click Save.

    Cloud Voice, the Live Chat snippet pasted at the end of the page footer

Open the live page and confirm the Live Chat widget now shows in the bottom-right corner.

Cloud Voice, the Live Chat widget displayed on a published WordPress page

Option 2: Add the snippet with the WPCode plugin

Section titled “Option 2: Add the snippet with the WPCode plugin”

WPCode is a free plugin that stores custom code separately from your theme, so the snippet is not lost when the theme updates. This is the recommended method for a live production site.

  1. Sign in to your WordPress admin panel.

  2. In the left sidebar, go to Plugins > Add New Plugin.

  3. Install and activate the WPCode plugin:

    1. In the top-right search box, look up WPCode, then click Install Now.

      Search results showing the WPCode plugin with the Install Now button

    2. Click Activate to turn the plugin on.

      The WPCode plugin with its Activate button after installation

  4. Add the code snippet to the footer:

    The WPCode Header & Footer page with the Footer text area

    1. In the left sidebar, go to Code Snippets > Header & Footer.
    2. In the Footer section, paste the Live Chat code snippet.
    3. In the top-right corner, click Save Changes.

Open the live page and confirm the Live Chat widget now shows in the bottom-right corner.

Cloud Voice, the Live Chat widget displayed on a published WordPress page