WordPress Plugin
Add ChatReact AI chatbots, contact forms, and FAQ accordions to your WordPress site with our official plugin.
Download
The plugin is available in the official WordPress Plugin Directory, or as a direct download:
Download ChatReact Plugin v1.2.0
Installation
Method 1: WordPress Plugin Directory (Recommended)
- Go to Plugins → Add New in your WordPress admin
- Search for ChatReact
- Click Install Now, then Activate
Method 2: Upload via WordPress Admin
- Download the plugin ZIP file above
- Go to Plugins → Add New → Upload Plugin
- Choose the ZIP file and click Install Now
- Click Activate Plugin
Method 3: Manual Upload via FTP
- Extract the ZIP file
- Upload the
chatreactfolder to/wp-content/plugins/ - Go to Plugins in WordPress admin
- Find "ChatReact" and click Activate
Configuration
After activation, open the ChatReact menu in your WordPress admin sidebar for settings and usage instructions.
Finding Your Chatbot ID
- Log in to chatreact.ai
- Go to your chatbot's Dashboard
- Click the Copy button next to the Chatbot ID (shown at the top)
Finding Your Form ID
- Log in to chatreact.ai
- Go to Forms
- Click Copy embed code on your form (or open the form and switch to the Embed tab)
- Your Form ID is the value of
data-form-idin the copied embed code
Usage Options
The plugin offers multiple ways to add ChatReact to your site:
1. Shortcodes
Add to any page, post, or widget area:
Chat Widget:
[chatreact id="YOUR_CHATBOT_ID"]
Optional attributes: language
Contact Form:
[chatreact_form id="YOUR_FORM_ID"]
Optional attributes: language
FAQ Accordion:
[chatreact_faq id="YOUR_CHATBOT_ID"]
Optional attributes: categories, container, language
Visual settings such as position, colors, and auto-open are managed centrally in your ChatReact dashboard and apply to your WordPress site automatically. The language attribute is optional on all shortcodes — if you omit it, the current page language is detected automatically (works with multilingual sites).
2. Gutenberg Blocks
In the block editor:
- Click + to add a block
- Search for "ChatReact"
- Choose ChatReact Chat, ChatReact Form, or ChatReact FAQ
- Enter your ID in the block settings
3. Elementor
If you use Elementor:
- Edit your page with Elementor
- Search for "ChatReact" in widgets
- Drag the widget to your page
- Configure in the left panel
4. Widget Assignments (Plugin Settings)
Show a chatbot on specific pages — or your whole site — without editing any content:
- Open the ChatReact menu in your admin sidebar
- On the Chat Widget tab, find Widget Assignments
- Click Add Assignment, choose a page or post (or select Everywhere), and enter your Chatbot ID
- Click Save Changes
For Everywhere assignments you can exclude specific URLs — one per line, with wildcard support (e.g. /blog/* or /checkout) — to hide the widget on landing pages or during checkout.
By default only Pages are searchable when assigning. Click the Post Types button to make other content types (e.g. Posts or custom post types) searchable too.
5. Page-Level Assignment
Assign a chatbot to a single page directly from the editor:
- Edit any page or post
- Find the "ChatReact Widget" meta box
- Check Enable custom widget for this page
- Enter your Chatbot ID and optionally choose a position (Default, Bottom Right, Bottom Left)
- Save the page
The same meta box also offers a Disable all widgets on this page option if you want to hide ChatReact entirely on certain pages.
Shortcode Examples
Basic Chat Widget
[chatreact id="abc123"]
Chat Widget with a Fixed Language
[chatreact id="abc123" language="de"]
FAQ with Category Filter
[chatreact_faq id="abc123" categories="shipping,returns"]
Styled Contact Form
[chatreact_form id="form123" language="en"]
FAQ Widget: SEO & Caching
SEO-Friendly FAQs
Since version 1.1.2, FAQ widgets are rendered server-side: your FAQs are part of the page HTML and include JSON-LD structured data (FAQPage schema). Search engines and AI assistants can read them without running any JavaScript.
llms.txt for AI Crawlers
The plugin can serve your FAQ content at yoursite.com/llms.txt, a discovery file read by AI crawlers. It is enabled by default. To toggle it or set a specific Chatbot ID for the file, go to ChatReact → FAQ Widget → Cache & SEO Settings.
FAQ Caching
FAQ data is cached on your server for fast page loads. Under ChatReact → FAQ Widget → Cache & SEO Settings you can:
- Set the Cache Duration — 1, 3, 6 (recommended), 12, or 24 hours, or disable caching
- Click Clear Cache to refresh your FAQs immediately
The cache is also purged automatically whenever your FAQs change in the ChatReact dashboard.
Supported Languages
The plugin supports 24 EU languages:
- Bulgarian, Croatian, Czech, Danish, Dutch, English
- Estonian, Finnish, French, German, Greek, Hungarian
- Irish, Italian, Latvian, Lithuanian, Maltese, Polish
- Portuguese, Romanian, Slovak, Slovenian, Spanish, Swedish
Since version 1.2.0, translations for all 24 languages are bundled with the plugin. The widget language is detected automatically from the current page, so multilingual sites work out of the box — use the language shortcode attribute only if you want to force a specific language.
Troubleshooting
Widget Not Appearing
- Verify your Chatbot ID is correct
- Check if the chatbot is active in your ChatReact dashboard
- Clear any page caching plugins (see below)
- Check browser console for JavaScript errors
Caching Plugin Compatibility
The plugin is fully compatible with popular caching and optimization plugins including WP Rocket, LiteSpeed Cache, Autoptimize, and WP Super Cache. The plugin automatically prevents these tools from minifying or caching ChatReact scripts.
If you still experience issues (e.g., 404 errors, widget not loading for logged-out visitors):
- Clear your caching plugin's cache
- Exclude
chatreactfrom JS minification/combination in your caching plugin settings - The plugin uses
data-api-urlattributes as a fallback to ensure correct API communication
FAQs Not Updating
If your site shows outdated FAQs, go to ChatReact → FAQ Widget and click Clear Cache. The cache also clears automatically when you edit your FAQs in the ChatReact dashboard.
Styling Conflicts
If the widget looks broken:
- The widget uses isolated CSS
- Check for CSS
!importantrules in your theme - Try disabling other chat plugins temporarily
Multiple Widgets
You can use different chatbots on different pages by specifying unique IDs in each shortcode or block.
CMS Integration (Smart Sitemap)
Starting with version 1.1.0, the ChatReact WordPress plugin includes a Smart Sitemap feature that provides the ChatReact crawler with structured content metadata directly from your WordPress site.
How It Works
- Generate an Integration Key on the ChatReact dashboard (Knowledge Base → Websites → CMS Integrations)
- Paste the key in the WordPress plugin settings under the Integration tab
- Select content types you want to share (Pages, Posts, Custom Post Types)
- Set priorities (High/Medium/Low) per content type
- When you crawl your website, ChatReact will automatically use the smart sitemap instead of regular link-based discovery
Benefits
- Faster crawling – Direct URL list instead of link-by-link discovery
- Content type awareness – The crawler knows whether a URL is a Page, Post, or Custom Post Type
- Priority-based indexing – Important content (like Pages) can be weighted higher than blog posts
- Selective sharing – Only share the content types you want
- Per-post exclusion – Exclude individual posts/pages from the sitemap via the meta box
Priority Levels
| Priority | Default for | Description |
|---|---|---|
| High | Pages | Core business content (About, Services, Contact) |
| Medium | Posts | Blog articles, news updates |
| Low | – | Supplementary content |
Security
The smart sitemap endpoint (/wp-json/chatreact/v1/sitemap) is protected by the Integration Key. It is not visible to search engines or other crawlers — only ChatReact can access it with the correct key.
Excluding Individual Posts
In the WordPress editor, each post/page has a ChatReact Widget meta box with an option to "Exclude from ChatReact Sitemap". Checked posts will not appear in the smart sitemap.
Requirements
- WordPress 5.8 or higher
- PHP 7.4 or higher
- A ChatReact account (sign up free)
Changelog
1.2.0
- NEW: Bundled translations for all 24 official EU languages
1.1.3
- FIX: Single-category FAQ widgets no longer show an unnecessary "All" filter button and category badges
1.1.2
- NEW: Server-side rendering for FAQ widgets — FAQs are visible to search engines and LLMs without JavaScript
- NEW: JSON-LD structured data (FAQPage schema) for improved SEO and rich results
- NEW: llms.txt endpoint for AI crawler discoverability
- NEW: Automatic FAQ cache purge when content changes in the ChatReact dashboard
1.1.1
- FIX: Translation improvements (Romanian, Dutch)
1.1.0
- NEW: Smart Sitemap (CMS Integration) — structured content sharing with ChatReact crawler
- NEW: Integration tab in plugin settings
- NEW: Content type selection with priority levels
- NEW: Per-post exclusion from sitemap via meta box
- NEW: Protected REST API endpoint for smart sitemap
- FIX: Full compatibility with caching plugins (WP Rocket, LiteSpeed Cache, Autoptimize, WP Super Cache)
- FIX: Widget loading issues for logged-out visitors with caching plugins
1.0.24
- Widget Assignments — assign chatbots to pages directly from plugin settings
- Gutenberg blocks support
- Elementor integration
- 24 language translations
- Page-level widget assignment
- CHANGED: Widget settings are now managed centrally in the ChatReact dashboard — removed the
position,primary_color, andauto_openshortcode attributes (languageis still supported)