Description
OneClick WP Hello makes it easy for your readers to reach you on WhatsApp — with a single click. Add a shortcode button anywhere, enable a site-wide floating button, route conversations to specific team members through an agent-selection popup, let readers share your content to WhatsApp, and track every click — all from a clean tabbed settings panel, no coding required.
Version 1.0.0 is a major rewrite that goes far beyond a simple contact button. Here is everything included:
Contact Button
- Shortcode
[wa-hello]— place a WhatsApp contact button in any post, page, or widget - Inline per-instance overrides:
[wa-hello phone="628xx" text="Chat Now" message="Hi!" align="center"] - Custom pre-filled message with full dynamic variable support
- Custom button label text
- Button alignment — Left, Center, or Right; set a global default or override per shortcode
- Show button only on mobile devices, or on all devices
- GDPR-ready: disable the button until the visitor accepts your Privacy Policy
- Open in new tab option
Floating Button
- Fixed-position floating WhatsApp button displayed across all pages
- Left or right screen position
- Three button styles: Circle (classic icon), Pill (icon + custom label text), Square (rounded corners)
- Custom pre-filled message — overridden automatically per agent when agents are active
- Optional tooltip label with smooth hover animation and customizable colors
- Hide on mobile devices option (viewport ≤ 768px)
- Open in new tab option
Multiple Agents
- Add unlimited WhatsApp contacts — each with a name, role, phone number, pre-filled message, and avatar photo
- When two or more agents are active, the floating button opens an accessible agent-selection popup
- When only one agent is active, the button links directly — no popup shown
- Three popup styles: Classic (bold green header), Minimal (neutral tones, hairline borders), Dark (dark card with green accents)
- Per-agent shift scheduling: assign work days and open/close hours so each agent only appears during their shift
- Target a specific agent directly from the shortcode:
[wa-hello agent="2"]
WhatsApp Share Button
- Shortcode
[wa-hello-share]— let readers share the current post to WhatsApp in one click - Inline per-instance overrides:
[wa-hello-share text="Share this" align="center"] - Button alignment — Left, Center, or Right; set a global default or override per shortcode
- Auto-inject above content, below content, or both — no shortcode placement needed
- Configurable post type targeting
- Device visibility: All / Mobile only / Desktop only
- Customizable share message template with dynamic variable support
- Open in new tab option
- Gutenberg block included
Business Hours & Availability
- Enable a global weekly schedule — set active days, open time, and close time
- Full timezone selector so schedules respect the correct local time
- Offline behavior options: show the button normally, hide it, show a status badge, or display an offline message
- Optional online / offline status dot displayed on the floating button
- Per-agent shift scheduling works independently alongside global availability
Dynamic Message Variables
- Supported tokens:
{page_title},{page_url},{site_name},{site_url},{site_tagline},{current_date},{current_time},{post_author},{post_date},{post_excerpt},{post_category} - Works in contact button messages, floating button messages, agent messages, and share templates
- Variables are resolved client-side at the exact moment a visitor clicks — always current and accurate
- Visual variable picker chips in the admin panel for easy one-click insertion
Display Rules
- Show everywhere, include specific content only, or exclude specific content
- Post type checkboxes for fine-grained targeting
- Specific post/page ID list
- Homepage and archive page toggles
- Per-post / per-page meta box override: force show or force hide on any individual piece of content
Appearance
- Independent color controls for the shortcode button, floating button, and share button
- Background color, text/icon color, and hover color — each independently configurable
- Button size: Small / Medium / Large
- Border radius: Pill / Rounded / Square
- Drop shadow toggle
- Pulse animation: Off / Always / Timed (configurable interval in seconds)
- Tooltip background and text color
Chat Teaser Bubble
- Speech bubble displayed above the floating button to prompt visitors to start a chat
- Trigger options: Immediate / Time delay / Scroll depth percentage
- Typing animation — animated three-dot indicator plays before the message appears
- Cookie-based auto-dismissal so the bubble does not pester returning visitors
- Configurable re-show period in days
- Mobile visibility toggle
Analytics
- Built-in click counter for shortcode button, floating button, agent popup, and share button clicks
- Per-agent click breakdown so you can see which contact gets the most conversations
- WordPress Dashboard widget for at-a-glance stats without leaving the admin home screen
- Optional Google Analytics 4 event integration via
gtag - Optional Facebook Pixel custom event integration via
fbq - Fully configurable event names per button type
- Stats reset button
Advanced
- Export all settings and agent profiles as a JSON file for backup or migration
- Import settings from a previously exported JSON file — settings and agents restored in one step
- Reset all plugin settings to defaults with one click
- Opt-in data deletion on uninstall — data is preserved by default so a reinstall loses nothing
Developer-friendly
- Gutenberg blocks for both the contact button and the share button (server-side rendered)
- Translation-ready with a
.potfile included; Indonesian (id_ID) translation bundled - All user inputs sanitized, all outputs properly escaped
- Nonce verification on every admin form and REST endpoint
- Rate-limited REST tracking endpoint — 30 requests per IP per hour to prevent click inflation
- Settings stored in a single serialised
wp_optionsrow — no database table created - Clean uninstall removes all options, transients, agent data, and analytics when opted in
Running a WooCommerce Store?
OneClick WP Hello handles general WhatsApp contact and sharing for any WordPress site. If you run a WooCommerce store and need deep WhatsApp integration by sending cart contents, product names, prices, and order summaries directly to WhatsApp, meet OneClick Chat to Order, the dedicated companion plugin:
- WhatsApp Buy Now and Add to Cart via Chat buttons on product pages
- Automatically sends product name, price, and quantity to WhatsApp
- Cart page WhatsApp checkout button — customers send their full cart in one message
- Thank You Page Override – Custom thank you page with WhatsApp button to send complete order details.
- Flexible button placement: product page, shop archive, cart page, order completion page, and more
- Fully compatible with latest WooCommerce
- Thousands of active WooCommerce stores worldwide
Get OneClick Chat to Order on WordPress.org | View Documentation
Screenshots

Button & Shortcode settings panel 
Floating Button & Chat Teaser settings panel 
Share Button settings panel 
Agents settings panel 
Availability (Business Hours) settings panel 
Display Rules settings panel 
Appearance settings panel 
Analytics settings panel 
Advanced (Import/Export) settings panel 
Frontend: shortcode button 
Frontend: floating button with tooltip 
Frontend: multi-agent selection popup 
Frontend: share button 
Frontend: chat teaser bubble 
Gutenberg block inserter
Blocks
This plugin provides 2 blocks.
- WhatsApp Contact Button Display a WhatsApp contact button. Equivalent to the [wa-hello] shortcode.
- WhatsApp Share Button Let readers share the current post to WhatsApp. Equivalent to the [wa-hello-share] shortcode.
Installation
- In your WordPress dashboard go to Plugins Add New Upload Plugin, upload the zip file, and click Install Now.
- Alternatively, extract the folder and upload it to
/wp-content/plugins/via FTP, then activate from the Plugins screen. - After activation, go to WP Hello in the left admin menu.
- Enter your WhatsApp number on the Button & Shortcode tab.
- Place
[wa-hello]in any post, page, or widget to display the contact button. - To enable the floating button, go to the Floating Button tab and check Display Floating Button.
- To route conversations to specific team members, add agents on the Agents tab.
FAQ
-
Is it free?
-
Yes — completely free with no premium tier, no upsells, and no feature gating.
-
Use the shortcode
[wa-hello]in any post, page, or widget area. You can also insert the WhatsApp Contact Button block from the Gutenberg block editor. For advanced usage with inline overrides:[wa-hello phone="628xx" text="Chat Now" message="Hi, I need help!" align="center"]. -
Yes. Use
[wa-hello align="center"]or[wa-hello align="right"]for a per-instance override. To set a global default for all shortcode buttons on your site, go to the Button & Shortcode tab and choose your preferred alignment under Button Alignment. The same option is available for the WhatsApp Share Button. -
Yes — enable Show Only on Mobile on the Button & Shortcode tab. The button will be hidden on viewports wider than 768px (desktops and landscape tablets).
-
Can I have multiple WhatsApp contacts?
-
Yes — add agents on the Agents tab. Each agent has their own name, role, phone number, pre-filled message, avatar, and optional shift schedule. When more than one agent is active, the floating button opens a popup so visitors can pick who they want to contact. When only one agent is active, the button links directly — no popup.
-
Yes — enable Availability Scheduling on the Availability tab. Configure your active days, open and close times, and timezone. You can also assign per-agent shift hours on the Agents tab so different team members appear at different times of day.
-
Can I use dynamic variables like the page title in messages?
-
Yes — type
{page_title},{page_url},{site_name},{current_date}, or any other supported token in any message field. The admin panel displays clickable variable chips so you can insert tokens without typing. Values are resolved in the visitor’s browser at the moment they click — so the message always reflects the page they are on. -
Does the plugin work with WooCommerce?
-
OneClick WP Hello is a general-purpose WhatsApp contact and share plugin that works on any WordPress site. For deep WooCommerce integration — sending cart contents, product names, prices, and order summaries directly to WhatsApp — see OneClick Chat to Order at the bottom of the Description section above.
-
Does this work with the latest WordPress version?
-
Yes. Version 1.0.0 is tested and confirmed compatible with WordPress 7.0 and PHP 7.4 through 8.4.
-
Where can I get support?
-
Open a thread on the WordPress.org support forum or visit the author’s contact page.
Reviews
Contributors & Developers
“OneClick WP Hello” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “OneClick WP Hello” 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 – May 26, 2026
- Major update — plugin significantly expanded and rewritten from the ground up
- NEW: Multiple agents / contacts with accessible agent-selection popup (Classic, Minimal, Dark styles)
- NEW: WhatsApp Share Button (
[wa-hello-share]) with auto-inject, alignment control, and Gutenberg block - NEW: Dynamic message variables (
{page_title},{page_url},{site_name},{current_date}, and more) - NEW: Business Hours / Availability scheduling with per-agent shift support and timezone selector
- NEW: Page and post visibility control (display rules + per-post meta box override)
- NEW: Button appearance customization — color pickers, size, border radius, pulse animation
- NEW: Floating button style variants — Circle, Pill (with label), Square
- NEW: Button alignment control for shortcode and share buttons (global default + per-instance override)
- NEW: Chat teaser / CTA popup bubble with time-delay, scroll-depth, and immediate triggers
- NEW: Typing animation for chat teaser bubble
- NEW: Click analytics with optional GA4 and Facebook Pixel event tracking
- NEW: WordPress Dashboard widget for at-a-glance click stats
- NEW: Gutenberg blocks for contact and share buttons (server-side rendered)
- NEW: Import / Export settings as JSON for backup and migration
- NEW: Reset to plugin defaults
- NEW: Tabbed admin panel (10 tabs)
- IMPROVEMENT: All WhatsApp links updated to
wa.meURL format withrawurlencode() - IMPROVEMENT: Full PHP 7.4 / 8.0 / 8.1 / 8.2 / 8.4 compatibility
- IMPROVEMENT: Tested up to WordPress 7.0
- IMPROVEMENT: Minimum WordPress version updated to 6.2
- IMPROVEMENT: Translation-ready with
.potfile; Indonesian translation bundled - IMPROVEMENT: All strings wrapped in i18n functions per WordPress Internationalization Handbook
- IMPROVEMENT: Settings consolidated into a single
wp_optionsarray with backward-compatible migration - IMPROVEMENT: Admin CSS scoped to plugin pages only — no style leakage
- IMPROVEMENT: Agents and availability CSS/JS loaded conditionally — no unnecessary assets
- SECURITY: Nonce verification on all forms and REST endpoints
- SECURITY: All outputs escaped —
esc_html,esc_attr,esc_url,wp_kses_postthroughout - SECURITY: Capability checks (
manage_options) on all admin-side actions - SECURITY: Rate limiting on analytics REST endpoint (30 requests per IP per hour)
- SECURITY: Import allowlist — only known settings keys accepted from uploaded JSON files
- FIX: Corrected broken option key mismatches — floating button now reads correct saved values
- FIX: Eliminated double-rendering of the floating button
- FIX: Floating button pill style no longer collapses to a circle due to CSS specificity conflict
- FIX: Hide on Mobile now reliably hides the button at the 768px breakpoint across all button types
- FIX:
[gdpr]shortcode now usesget_permalink()and is registered oninit - FIX: Floating button moved from
wp_headtowp_footerfor correct render order - FIX: Missing-number admin notice now reads from unified settings after migration
0.1.0 – December 14, 2019
- Complying to Copyright and Trademark Guidelines
- Rebranded “OneClick WhatsApp Hello” to “OneClick WP Hello”
- Code cleaned up
0.0.3 – February 21, 2019
- Fixed issue when button is still clickable though the GDPR notice is unchecked
- Compatibility with the latest WordPress version
0.0.2 – February 10, 2019
- Strings corrected
0.0.1 – February 8, 2019
- Initial Release
