Note: This method edits your theme. To keep changes across theme updates, use a Child Theme or the plugin method below.

Where to add

File: wp-content/themes/<your-theme>/header.php, inside <head> (above </head>).

Pluro script (copy & paste)

<script type="text/javascript">(function(){var e=document.createElement('script');e.async=true;e.defer=true;e.setAttribute("type","text/javascript");e.setAttribute("src","https://my.pluro.ai/unitoolbar.js?lang=en");document.getElementsByTagName("head")[0].appendChild(e);})();</script>

Steps (Manual)

  1. Back up your theme.
  2. WordPress Admin → Appearance → Theme File Editor → open header.php.
  3. Paste the script before </head> and update file.
  4. Clear any caching plugin (WP Rocket, W3TC), server cache, and CDN.

Alternative (Plugin – safer)

  1. Install WPCode (formerly Insert Headers & Footers) or Code Snippets.
  2. Add a new Header snippet, paste the Pluro script, save & enable.

Verify

  • View Source → confirm script is in <head>.
  • DevTools → Network → unitoolbar.js returns 200.

Troubleshooting

  • Theme update removed code? Re-add or use a Child Theme / WPCode.
  • Security/CSP plugins may block external scripts → allow my.pluro.ai.
  • Purge all caches after editing.