
內容簡介
Magexchat 是一款專為需要多位支援代理的企業設計的 WordPress WhatsApp 聊天外掛,提供進階的可用性控制及靈活的前端顯示選項,讓網站擁有專業的 WhatsApp 聊天體驗。
【主要功能】
• 支援多位 WhatsApp 代理
• 自動檢測在線/離線狀態
• 美觀的浮動聊天小工具
• 支援 Gutenberg 區塊編輯器
• 簡單的短碼嵌入
• 頁面級別控制顯示
外掛標籤
開發者團隊
② 後台搜尋「Magexchat – Multi-Agent Chat」→ 直接安裝(推薦)
原文外掛簡介
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 [email protected].
License
This plugin is licensed under the GPLv2 or later license.
