Description
Magexchat is a WordPress WhatsApp chat plugin designed for businesses that need multiple support agents, advanced availability control, and flexible frontend display options.
This powerful plugin allows you to create a professional WhatsApp chat experience on your WordPress website with multiple agents, scheduling capabilities, and complete customization options.
Key Features
- Multiple WhatsApp Agents – Add unlimited WhatsApp agents with individual settings
- Online/Offline Status – Automatic status detection based on schedule
- Floating Chat Widget – Beautiful floating widget that appears on your site
- Gutenberg Block Support – Native WordPress block editor integration
- Shortcode Support – Easy embedding with simple shortcodes
- Page-Level Control – Show/hide widget on specific pages or posts
- Device Visibility – Control visibility for desktop and mobile separately
- Custom Design – Fully customizable colors, labels, icons, and positions
- WooCommerce Integration – Display chat buttons on product pages
- Secure & Optimized – Built following WordPress security best practices
Usage
Floating Widget
The floating widget appears automatically on your site based on your display settings.
- Go to Magexchat Floating Widget
- Select agents to display in the widget
- Customise design, labels, and position
- Configure visibility settings (pages, posts, devices)
- Save settings
The widget will automatically show/hide agents based on their availability schedule.
Gutenberg Block
- Edit any page or post in the block editor
- Click the + button to add a block
- Search for “Magexchat Button”
- Select the Magexchat Button block
- Choose an agent or configure custom settings
- Customize button appearance, colors, and shape
- Publish your page
Shortcode
Use the shortcode to embed chat buttons anywhere in your content:
[magexchat_button id="123"]
Where 123 is the ID of your WhatsApp agent.
Example:
[magexchat_button id="123"]
Parameters:
* id (required) – The agent post ID
Finding Agent ID:
* Go to Magexchat Agents
* Hover over an agent name and check the URL, or
* View the agent list – the ID is shown in the Shortcode column
WooCommerce Integration
- Go to Magexchat Settings WooCommerce
- Enable WooCommerce integration
- Select agents to display on product pages
- Save settings
Chat buttons will automatically appear on all WooCommerce product pages.
Security
This plugin follows WordPress security best practices:
- All user inputs are sanitised and validated
- All outputs are properly escaped to prevent XSS attacks
- Nonces and capability checks protect all admin actions
- REST API endpoints are secured with permission callbacks
- AJAX requests are verified with nonce checks
- No direct file access allowed
- Database queries are limited and optimised
- No hardcoded credentials or sensitive data
Uninstall
Default behaviour (keep your data)
By default, uninstalling (deleting) this plugin does not remove your data. Your WhatsApp agent posts, widget settings, WooCommerce integration options, and other plugin options stay in the database so you can reinstall later without losing configuration.
Optional: remove all plugin data on uninstall
If you want WordPress to delete all plugin data when the plugin files are removed:
- Go to ** Magexchat Settings** (or your plugin settings screen)
- Open the Uninstall section
- Enable Delete plugin data on uninstall
- Save settings
- Delete the plugin from Plugins (not only deactivate)
Only with that option enabled will uninstall remove plugin options and all magex-wa-account (agent) posts and their meta.
Deactivation
Deactivating the plugin does not delete any data.
Multisite
On multisite, uninstall runs the same cleanup step on each site in the network. The Delete plugin data on uninstall option is stored per site — only subsites where that option is enabled will have their plugin data removed; other subsites keep their data unless you enable the option there too before deleting the plugin.
Export / backup
There is no built-in export in this version. Before enabling data removal, back up your database or export content if you need a copy of agent configuration.
Credits
This plugin uses the following third-party libraries:
- Select2 – jQuery-based replacement for select boxes (MIT License)
- jQuery Timepicker – Time picker addon for jQuery UI (MIT License)
Developed by Magexweb.
Support
For support, feature requests, or bug reports, please contact us via email on info@magexweb.com.
License
This plugin is licensed under the GPLv2 or later license.
Blocks
This plugin provides 1 block.
- Magexchat Button Display a WhatsApp chat button with agent selection or custom configuration.
Installation
Automatic Installation
- Log in to your WordPress admin panel
- Navigate to Plugins Add New
- Click Upload Plugin
- Choose the
magexchat-multi-agent-chat.zipfile - Click Install Now
- Activate the plugin
Manual Installation
- Extract the
magexchat-multi-agent-chat.zipfile - Upload the
magexchat-multi-agent-chatfolder to/wp-content/plugins/directory - Activate the plugin through the Plugins menu in WordPress
- Go to Magexchat WA Agents to start adding agents
First Time Setup
Add Agents: Go to Magexchat Add New Agent and click Add New
- Enter agent name
- Add WhatsApp number (with country code, e.g., +1234567890)
- Upload agent avatar (optional)
- Set availability
- Configure button appearance
Configure Floating Widget: Go to Magexchat Floating Widget
- Select agents to display
- Customise design and labels
- Set display preferences (pages, posts, devices)
Optional Settings: Go to Magexchat Settings
- Configure WooCommerce integration
FAQ
-
How many agents can I add?
-
Unlimited. You can add as many WhatsApp agents as you need.
-
Does this work with WhatsApp Business?
-
Yes. The plugin works with both regular WhatsApp and WhatsApp Business accounts.
-
Can I customize the appearance?
-
Yes. You can customize colors, labels, icons, button shapes, and positions for both the floating widget and individual buttons.
-
Can I show different agents on different pages?
-
Yes. You can control which pages and posts display the floating widget, and you can use shortcodes or blocks to show specific agents on specific pages.
-
Does it work on mobile devices?
-
Yes. The plugin is fully responsive and works on all devices. You can also control mobile visibility separately.
-
Does this plugin slow down my website?
-
No. The plugin is optimised for performance. Scripts are loaded only when required, and assets are conditionally loaded based on your settings.
-
Is this plugin GDPR compliant?
-
This plugin does not store personal user data. It only redirects users to WhatsApp. However, you should ensure your WhatsApp usage complies with GDPR if you’re in the EU.
-
Does it work with caching plugins?
-
Yes. The plugin is compatible with all major caching plugins including WP Super Cache, W3 Total Cache, and WP Rocket.
-
Can I use it with page builders?
-
Yes. You can use the shortcode
[magexchat_button id="123"]in any page builder that supports shortcodes, including Elementor, Beaver Builder, and Divi. -
What happens if an agent is offline?
-
You can configure whether to show offline agents or hide them. If shown, they will display with an “Offline” status, and you can set custom offline messages.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Magexchat – Multi-Agent Chat” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Magexchat – Multi-Agent Chat” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial release
- Multiple WhatsApp agent support
- Floating chat widget
- Gutenberg block integration
- Shortcode support
- WooCommerce integration
- Page and post visibility controls
- Desktop and mobile visibility options
- Custom design options









