Add the Deskwoot widget to WordPress

Updated Nov 28, 20263 min read
English
On this page

Drop one small script into your WordPress site and the Deskwoot chat launcher appears on every page. Visitors can then start a conversation from your site, and those chats land in your Deskwoot inbox like any other channel.

Where do I get the widget script?

The On your website panel of the chat inbox with the install code and its Copy button

Create a live chat inbox first, then copy its install snippet:

  1. In Deskwoot, go to Settings > Inboxes.
  2. Create a Live Chat inbox, or click an existing one.
  3. Click On your website.
  4. Under How to add the chat, click Copy next to the code.

The widget script is a short block of JavaScript that loads the chat launcher and ties it to that inbox.

How do I add the widget to WordPress?

There's no separate WordPress plugin to install. You place the standard widget script, which works on any WordPress theme, in one of 2 ways. Pick whichever fits how you manage your site.

Option 1: a header and footer plugin (easiest)

This avoids touching theme files and survives theme updates.

  1. Install a plugin that lets you insert custom code, such as WPCode or Insert Headers and Footers, from the WordPress plugin directory.
  2. Open the plugin's settings.
  3. Find the footer (or body) area.
  4. Paste the Deskwoot widget script there.
  5. Save.
  6. Load your site in a new tab. The chat launcher should appear, usually in the bottom corner.

Option 2: edit your theme directly

If you'd rather not add a plugin, place the script in your theme. Use a child theme so a theme update doesn't wipe your change.

  1. In WordPress, go to Appearance > Theme File Editor (or edit the files over FTP).
  2. Open footer.php.
  3. Paste the Deskwoot widget script just before the closing </body> tag.
  4. Save the file.
  5. Reload your site to confirm the launcher shows up.

How do I confirm it's working?

  1. Open your site in a fresh browser tab or a private window.
  2. Start a test chat through the widget.

The conversation should arrive in your Deskwoot live chat inbox within a few seconds. If it does, you're done.

Troubleshooting

  • The launcher doesn't appear. Make sure the script is in the footer or just before </body>, and that you pasted the whole snippet. Clear any caching plugin or CDN cache, since WordPress often serves a cached page.
  • It shows on some pages but not others. A header and footer plugin loads the script site wide. If you edited the theme instead, check that the script is in a template every page uses, like footer.php.
  • Chats don't reach Deskwoot. Confirm you copied the script from the correct live chat inbox, and that the inbox still exists in Settings > Inboxes.

Frequently asked questions

Is there a Deskwoot plugin for WordPress?
You don't need one. Adding Deskwoot to WordPress is just a matter of placing the standard live chat widget script on your site, either through a header and footer plugin or directly in your theme's footer.
The chat launcher isn't showing on my site. What now?
Confirm the full script sits in the footer or just before the closing body tag, then clear your caching plugin and CDN cache. WordPress often serves a cached page, which can hide a freshly added script until the cache refreshes.
Will the widget survive a theme update?
If you add the script through a header and footer plugin like WPCode, yes. If you edit theme files directly, use a child theme so an update to the parent theme doesn't overwrite your change.

Was this guide helpful?

Keep reading

Still need help?

Fynn answers from these guides in the chat, and you can reach the team there too.