How do I add the agent to my WordPress site?

Add the agent to every page of your WordPress site with the free WPCode plugin. You don't need to touch your theme files.

Get the code first

  1. Publish your agent in Agenola. A draft shows as closed on your site.
  2. In the flow editor, open “Add to website” from the arrow next to “Publish” and choose the layout. The first time you publish an agent, this window opens on its own.
  3. In the “Allow your websites” step, type your site's address and click “Add”. The agent only opens on the websites you add here.
  4. Click “Copy code”.

Add it to WordPress

  1. In your WordPress admin panel, install and activate the free “Insert Headers and Footers” plugin by WPCode.
  2. Open “Code Snippets” → “Header & Footer”.
  3. Paste the code into the “Footer” box.
  4. Click “Save Changes”. If your site has a cache plugin, clear the cache.

Menu names can look different depending on the language and version of your site's panel.

Check that it works

Open your site at its live address and refresh the page. The agent button appears in the corner of the page.

Don't look for the button in the editor's preview: the agent only opens on the addresses you allow.

If the button doesn't appear, check that your site's address is in the list in the “Add to website” window. If your site has another domain, add that too.

Related articles

Was this article helpful?

Agenola and our partners use cookies to improve the site and show you relevant ads. We count which of our ads bring visitors without using your name or email; anything more only happens if you allow it. Privacy Policy(opens in a new tab)