Skip to main content
This guide shows how to put your Sales Assistant on a WordPress site as a chat widget, so it appears on every page.
Before you start, launch your Sales Assistant and copy your install snippet. Keep it on your clipboard, you’ll paste it in below.

Which method should I use?

WordPress gives you a few ways to add custom code. We recommend the plugin method, because it works on any theme and survives theme updates.
MethodBest forNotes
Header/footer plugin (recommended)EveryoneSite-wide, survives theme updates, no code editing.
Theme footer fileComfortable editing theme filesSite-wide, but can be lost when the theme updates.
Custom HTML blockA single page onlyThe widget only appears on that one page.
WordPress.com vs WordPress.org. These steps apply to self-hosted WordPress (WordPress.org) and to WordPress.com sites on the Business plan or higher, which is the level that allows plugins and custom code. Lower WordPress.com plans don’t allow custom scripts.
  1. In your WordPress dashboard, go to Plugins, then Add New.
  2. Search for Insert Headers and Footers. The top result is WPCode (Insert Headers and Footers + Custom Code Snippets).
  3. Click Install Now, then Activate.
The Add Plugins page with WPCode in the search results and an Install Now button
  1. In the left menu, go to Code Snippets → Header & Footer.
  2. Paste your EasyMate snippet into the Footer box. It loads after your page content, the most reliable spot for a chat widget.
  3. Click Save Changes.
The WPCode Header and Footer page with the snippet in the Footer box
Visit your site and you should see the chat button appear.
Editing theme files directly can break your site if done incorrectly, and your changes may be erased when the theme updates. Use a child theme if you can, and back up first.
  1. Go to Appearance → Theme File Editor.
  2. In the list of theme files, open footer.php.
  3. Find the closing </body> tag near the bottom.
  4. Paste your EasyMate snippet immediately before </body>.
  5. Click Update File.

Method 3: Single page only (Custom HTML block)

Use this only if you want the chat on one specific page.
  1. Edit the page in the block editor.
  2. Add a Custom HTML block.
  3. Paste your EasyMate snippet into the block.
  4. Update the page.

Verify it’s working

  1. Open your site in a new browser tab (or an incognito window).
  2. Look for the chat button, usually in a bottom corner.
  3. Click it and send a test message.
If it doesn’t appear, see Troubleshooting.