WordPress 6+ & All Themes
Lightweight WhatsApp Chat Button for WordPress Sites
Engage website visitors on WhatsApp without adding a plugin or bloating your WordPress database. Compatible with Elementor, Divi, Gutenberg, and classic themes.
2 min setup Target: WPCode / Headers & Footers or footer.php
Step-by-step installation for WordPress
Follow these steps to add your WAButton installation code to your WordPress website.
- 1
Open Code Injection Settings
In your WordPress admin dashboard, navigate to Code Snippets -> Header & Footer (if using the WPCode plugin) or open Appearance -> Theme File Editor -> footer.php.
Pro tip: We recommend using the free WPCode plugin so your snippet persists safely across theme updates.
- 2
Insert into Footer
Paste your WAButton embed code in the Footer section immediately before the closing </body> tag.
Pro tip: Placing the script in the footer, with the async attribute, keeps it from blocking first paint.
<script src="https://widget.wabutton.app/v1.js" data-widget-id="YOUR_WIDGET_ID" async></script> - 3
Save and Purge Cache
Click Save Changes. If you use a WordPress caching plugin (like WP Rocket or LiteSpeed Cache), click Purge All Cache to see the changes immediately.
Why store owners and agencies choose WAButton for WordPress
No Plugin Required
WAButton is an embed script, not a plugin, so it does not run on your server and never triggers a plugin update alert.
Compatible with All Page Builders
Works out of the box with Elementor, Divi, Beaver Builder, Gutenberg, and classic editors.
Instant wa.me Lead Notification
Receive automated email alerts with a 1-click WhatsApp reply link whenever a visitor submits their details.
Full Cache Compatibility
Perfectly compatible with WP Rocket, LiteSpeed Cache, W3 Total Cache, and Cloudflare APO.
Frequently asked questions
Why use WAButton instead of a traditional WordPress WhatsApp plugin?
- Traditional WordPress plugins run on your PHP server, query your MySQL database on every page load, and create security vulnerabilities. WAButton is an ultra-lean client-side script loaded from Cloudflare edge that never touches your WordPress database.
Can I customize the greeting and agents without editing code?
- Yes! All customizations (agent names, avatars, greeting messages, business hours, and lead forms) are managed from your cloud WAButton dashboard and update instantly on your site without touching WordPress code again.
Related Free Tools
Create WhatsApp links, QR codes and messages for your business.
More installation guides
Add WhatsApp to your website.
Give visitors a way to ask about your products, prices or availability. Reply from the WhatsApp you already use.
Free plan available. No credit card required.