Sign in

How to add live chat to a WordPress site

Three ways to put a chat button on WordPress, from a plugin to pasting a script, and which one to pick. Plus what to set up before the first visitor says hello.

A chat window open on a WordPress site

Live chat on a WordPress site comes down to one thing: a small script has to load on every page. There are three ways to get it there. Which one is right depends on how comfortable you are touching your theme.

Option 1: Install a plugin (easiest)

Most live chat services publish a WordPress plugin. The plugin adds the script for you, and you only paste an account ID into a settings page.

With Talkieon, it looks like this:

  1. Create a free account at talkieon.com.
  2. In WordPress, go to Plugins → Add New and search for Talkieon Live Chat. Install and activate it.
  3. In your Talkieon dashboard, open Install widget and copy your Workspace ID.
  4. In WordPress, go to Settings → Talkieon Live Chat, paste the ID and save.

Open your site and the chat button is in the corner. You can also get the plugin straight from its WordPress.org page.

A plugin is the best choice for most sites. It survives theme changes and updates, and you can hide the chat with a checkbox when you need to.

If your chat service has no WordPress plugin, a general "insert headers and footers" plugin does the same job. Paste the install snippet from your chat dashboard into the footer box and save.

This works well, but you now depend on two plugins instead of one. If someone removes the header and footer plugin during a clean-up, the chat silently disappears.

Option 3: Edit your theme

You can paste the snippet into your theme's footer.php, just before </body>. Only do this in a child theme. A theme update replaces the parent theme's files, and your chat goes with them.

For most people, editing the theme is more risk than it is worth. Use it only if you already maintain a custom theme.

Before your first chat arrives

Getting the button on the page takes two minutes. Making it useful takes a little longer. A few things worth setting up on day one:

  • Opening hours. Visitors should know whether a person will answer now or later. Outside your hours, collect an email address so you can reply there.
  • A greeting that says what you help with. "Questions about plans or setup? Ask here." gets more useful questions than "Hi there!".
  • Help articles for the AI. If you use an AI agent, it answers from your help articles. Even five short articles covering your most common questions make a big difference. Our post on writing help articles your AI can use explains how.
  • Notifications on your phone. A chat answered in two minutes feels like great service. One answered in two hours feels like an email. Install the mobile app so you see new chats when you are away from your desk.

Does live chat slow WordPress down?

It can, if the script loads early and blocks the page. A good plugin loads the chat script with defer, after the page content, so visitors see your page at full speed and the chat button appears a moment later. The Talkieon plugin does this by default.

If you use a caching or optimisation plugin, clear its cache after installing the chat. Otherwise visitors may keep getting cached pages without it for a while.

Summary

For most WordPress sites, install a plugin, paste your ID and you are done. Spend the time you saved on opening hours, a clear greeting and a handful of help articles. That is what turns a chat button into answered questions.

Ready to try it? Get the free plugin or create your free Talkieon account.

Talkieon Team

We build Talkieon, live chat with an AI agent that resolves support questions and hands off to a human when it should.

Let your AI answer, and your team handle the rest.

Live chat, an AI agent and every channel in one inbox. Free Starter plan, no card.

See pricing