Implementing Navless in WordPress
This guide shows exactly what your team needs to do in WordPress to add Navless (playlists and chat) to your site. Follow the short, numbered steps and copy the small code snippets where shown.
Before You Begin
Step 1 — Add the Navless script globally (footer / end of <body>)
Option A — Headers/Footers plugin (no code theme edits)
<script
id="tg-script"
src="https://YOUR-SUBDOMAIN.tourial.com/tour-guide-embed.js"
data-trigger=".tg-trigger">
</script>Option B — Theme integration (developer)
Option C (advanced): Child theme footer.php
Step 2 — Launch a playlist from a Button
Method A — Class‑based trigger (no custom JS)
Method B — onClick handler (most robust)
Optional — Per-button overrides (attributes)
Quick Checklist (copy/paste)
Troubleshooting
Step 3 — Place the chat input on a page
A. Add a Custom HTML block
B. Paste the chat input template
Step 4 — Performance & caching (WP Rocket fix)
Step 5 — How chat chooses content (what to expect)
Testing & Publishing Checklist (copy/paste)
Troubleshooting
Appendix — Example button & chat snippets
Last updated
Was this helpful?