A modern, professional AI-powered chatbot widget for WordPress. Fully customizable, responsive, and easy to integrate with any WordPress website.
- π¨ Fully Customizable - Match your brand colors and style
- π¬ Smart Interactions - Typing indicators, quick replies, and smooth animations
- π± Fully Responsive - Works perfectly on desktop, tablet, and mobile
- β‘ Lightning Fast - Optimized for performance with minimal footprint
- π AI Integration - Easy integration with OpenAI, Dialogflow, or custom APIs
- π Translation Ready - Built with i18n support for multilingual sites
- βΏ Accessible - WCAG compliant and keyboard-friendly
- π‘οΈ Secure - Built following WordPress security best practices
- Download the
ai-chatbot-v1.0.0.zipfile - Log in to your WordPress admin panel
- Navigate to Plugins β Add New β Upload Plugin
- Choose the downloaded ZIP file
- Click Install Now and then Activate
- Download and extract the ZIP file
- Upload the
ai-chatbotfolder to/wp-content/plugins/ - Activate the plugin through the Plugins menu in WordPress
- Go to AI Chat Bot in your WordPress admin menu
- Enable the chatbot using the toggle switch
- Customize the bot name and welcome message
- Choose your brand colors
- (Optional) Add your AI API credentials
- Save settings and visit your website!
The plugin works out of the box with predefined responses. Simply activate it and customize the basic settings:
Bot Name: AI Assistant
Welcome Message: π Hi there! How can I help you today?
Primary Color: #667eea
Secondary Color: #764ba2
To enable AI-powered responses:
- Get an API key from your AI provider (OpenAI, Dialogflow, etc.)
- Enter the API key in AI Chat Bot Settings
- Add your API endpoint URL
- Save settings
The chatbot will automatically use AI responses when configured.
Customize the chatbot colors from the admin settings page:
- Primary Color: Main gradient color and button colors
- Secondary Color: Secondary gradient color
Customize all messages:
- Bot name displayed in header
- Welcome message shown when chat opens
- Quick reply buttons (edit in
templates/chatbot-widget.php)
For developers who want deeper customization:
CSS: Edit css/chatbot.css to modify styles
JavaScript: Edit js/chatbot.js to modify behavior
Template: Edit templates/chatbot-widget.php to modify HTML structure
The plugin supports integration with various AI platforms:
API Endpoint: https://api.openai.com/v1/chat/completions
API Key: Your OpenAI API keyAPI Endpoint: Your Dialogflow webhook URL
API Key: Your Dialogflow service account keyAny REST API that accepts JSON and returns text responses.
ai-chatbot/
βββ ai-chatbot.php # Main plugin file
βββ readme.txt # WordPress.org readme
βββ README.md # This file
βββ css/
β βββ chatbot.css # Chatbot styles
βββ js/
β βββ chatbot.js # Chatbot JavaScript
βββ templates/
βββ admin-page.php # Admin settings page
βββ chatbot-widget.php # Frontend chatbot widget
Run the PowerShell build script:
.\build-production.ps1This will create a production-ready ZIP file with:
- Optimized CSS (demo styles removed)
- Production JavaScript
- All necessary templates and files
- Visit any page on your website
- Look for the chat button in the bottom-right corner
- Click to open and test the chat interface
- Try sending messages and using quick replies
- Go to AI Chat Bot settings
- Test enabling/disabling the chatbot
- Change colors and messages
- Verify settings save correctly
- β Chrome (latest)
- β Firefox (latest)
- β Safari (latest)
- β Edge (latest)
- β Mobile browsers (iOS Safari, Chrome Mobile)
- Verify the plugin is activated
- Check that "Enable Chat Bot" is ON in settings
- Clear your browser cache
- Check browser console for JavaScript errors
- Check your API credentials
- Verify your API endpoint is correct
- Check WordPress debug log for errors
- Clear WordPress cache (if using a cache plugin)
- Check for CSS conflicts with your theme
- Try disabling other plugins temporarily
Contributions are welcome! Please feel free to submit pull requests or open issues.
This plugin is licensed under the GPL v2 or later.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
- Icons by Font Awesome
- Inspired by modern chat interfaces
For support, feature requests, or bug reports:
- Open an issue on GitHub
- Contact through WordPress.org plugin support forum
- Multi-language support with .po/.mo files
- Chat history and analytics
- File upload support
- Integration with popular CRM systems
- Pre-built templates for common industries
- Advanced AI conversation flows
Made with β€οΈ for the WordPress community