Skip to content

Free WordPress plugin that adds an Ethora AI chat widget to your site. Index pages, enable RAG, and chat with your content in minutes. Based on Ethora Chat Component

License

Notifications You must be signed in to change notification settings

dappros/ethora-wp-plugin

Repository files navigation

Ethora Chat Assistant

Simple, open-source WordPress plugin for embedding an AI chatbot on your website. Based on NPM Ethora Chat Component.


Plugin Header (for WordPress.org)

=== Ethora Chat Assistant === Contributors: Ethora team Tags: javascript, chatbot, custom script Requires at least: 5.0 Tested up to: 6.5 Stable tag: 1.2 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html

For chat code please check: https://github.com/dappros/ethora-chat-component/tree/assistant-ui


Overview

Ethora Chat Assistant injects a hosted JavaScript chatbot into every WordPress page. You can configure a dynamic data-bot-id and choose whether the script loads in the document <head> or just before </body>.


Features

  • Lightweight script injection
  • Configurable data-bot-id
  • Injection location: header or footer
  • Works with any WordPress theme
  • Free and open-source (GPLv2 or later)

Installation

  1. Upload the plugin folder to /wp-content/plugins/.
  2. Activate it from the Plugins page.
  3. Go to Settings → Ethora Chat Assistant to configure bot ID and injection location.

Description

This plugin allows you to inject a hosted JavaScript file (e.g., Ethora chatbot) into the header or footer of every WordPress page.

You can configure:

  • The data-bot-id attribute - your bot's unique XMPP handle, generated automatically if you use Ethora platform
  • (optional) The data-bot-avatar attribute - URL of avatar or profile image your AI agent uses in chat sessions
  • (optional) The data-bot-display-name attribute - the display name your AI agent uses in chat sessions
  • Whether the script loads in the <head> or before </body>.

Example (auto-generated by the plugin):

<script
  src="https://widget.ethora.com/assistant.js"
  id="chat-content-assistant"
  data-bot-id="<your bot's XMPP handle here>"
  data-bot-avatar="http://myhosting.com/avatar.png"
  data-bot-display-name="Captain Nemo"
></script>

Frequently Asked Questions

Q: Can I change the script URL?
A: Not via the UI. You'll need to edit the plugin PHP file directly.

Q: Does it support shortcodes?
A: No.

Changelog

1.2

Renamed plugin to "Ethora Chat Assistant". Added frontend and admin Ethora branding.

1.1

Added option to choose between head or footer injection.

1.0

Initial release with bot ID setting.

License

GPLv2 or later https://www.gnu.org/licenses/gpl-2.0.html

Related Projects

Ethora Chat Component: https://github.com/dappros/ethora-chat-component RAG Demos: https://github.com/dappros/rag_demos Ethora (platform): https://github.com/dappros/ethora