You can add a WhatsApp button to a WordPress site in two ways: a plain click-to-chat link in a Button block, which takes a minute and needs no plugin, or a free plugin that adds a floating button with a small chat window, a few questions before the chat, and your opening hours. This guide covers both, how to test them, and what to check for privacy.
Before you start
You need the WhatsApp number that should receive the messages, in full international format with the country code. The number can be a personal or a WhatsApp Business account. If several people answer enquiries, decide now which phone the button should open, because a click-to-chat link points to one number.
Method 1: a plain link in a Button block
This is the quickest way, and it adds nothing to your site’s code.
- Edit the page where the button should appear, for example your contact page.
- Add a Buttons block and type a label such as “Message us on WhatsApp”.
- Set the link to
https://wa.me/447700900123, using your own number. - Update the page.
In the link, WhatsApp asks for the number in international format without any leading zeros, brackets, dashes or plus sign: a UK mobile such as 07700 900123 becomes 447700900123.
To start the chat with a message already written, add ?text= and the message, URL-encoded (a space becomes %20):
https://wa.me/447700900123?text=Hello%2C%20I%20have%20a%20question%20about%20your%20services
The visitor still presses send in WhatsApp, and can edit the text first.
A plain link is fine for one page. It does not float, it shows whether you are open or closed, and the first message is usually just “Hello”, so your first reply is a question. If you use WhatsApp’s official “Chat on WhatsApp” button image, WhatsApp asks that you use it unchanged and keep it easy to read.
Method 2: a floating button with a free plugin
A plugin puts the button in the corner of every page, so visitors can reach you from wherever they are reading. We built Ege Digital Chat Button for this. It is free on WordPress.org and needs no account.
- In your WordPress admin, go to Plugins → Add New Plugin (Add New in older versions).
- Search for Ege Digital Chat Button, then click Install Now and Activate.
- Open Chat Button → WhatsApp button and enter your number in international format with the country code, for example +44 7700 900123.
- Under Placement, choose bottom left or bottom right, and whether the button shows on all devices, mobile or desktop.
- Save. The button appears on your site straight away.

The other tabs are optional:
- Chat window: a greeting, your name and a photo or logo, so visitors see who they are writing to. This tab also holds the questions before WhatsApp: up to three short questions, as text or tappable choices. The answers are written into the WhatsApp message, so you know who is writing and what they need before you reply. Nothing is stored. Our guide on which questions to ask covers what works and what to keep out of a WhatsApp message.
- Opening hours: weekly hours in your site’s time zone, closed dates, and a “we are back on Monday at 09:00” note when you are closed. The button keeps working, so people can still leave a message. See opening hours on a WhatsApp button for time zones and bank holidays.
- Channels and tracking: call and email buttons next to WhatsApp, for visitors who would rather phone or write, and analytics events.

Placing a button inside a page
The floating button covers most sites. If you also want a button in the middle of a page, the plugin adds a block for the block editor and the Chat on WhatsApp shortcode for page builders such as Divi and Elementor. Any link or button with the class wapadesk-open, or a link to #wapadesk, opens the same window.
On WooCommerce product pages, the plugin can add a WhatsApp button next to “Add to cart”, and the start message can include the product name, SKU and price.
Building with Divi 5? Our Divi 5 guide shows a plain Button module link and a module you place in the Divi Builder.
Test it before you go live
- Open a page on a phone and tap the button. The WhatsApp app should open with your message.
- Open it on a computer. A WhatsApp page should offer to open the desktop app or continue to WhatsApp Web. With the plugin, the window can also show a QR code to continue on the phone.
- Send yourself a message from a second phone to check the number.
- If you use a caching or optimisation plugin, clear its cache after saving.
Privacy and cookies
A wa.me link sends the visitor to WhatsApp, a Meta service, where WhatsApp’s own terms apply. The link itself sets no cookies on your site.
Ege Digital Chat Button sets no cookies, contacts no outside service and stores no visitor data. It counts clicks by page and source in your own WordPress database. If you turn on analytics events, they go only to tags already on your page, such as Google Analytics or Meta Pixel, so your cookie consent tool still decides whether those tags run.
Whichever method you use, add a line to your privacy notice saying that the WhatsApp button opens WhatsApp and that messages sent there are handled under WhatsApp’s terms.
Which method should you choose?
| Plain link | Free plugin | |
|---|---|---|
| Set-up time | About a minute | A few minutes |
| Floating on every page | No | Yes |
| Questions before the chat | No | Up to three |
| Opening hours and closed note | No | Yes |
| Call and email buttons | Separate links | In the same window |
| Click counts by page | No | Yes |
A plain link suits a single contact page. If WhatsApp is how most of your enquiries arrive, the floating button with a few questions saves a round of messages at the start of each chat.
FAQ
Is there a free way to add a WhatsApp button to WordPress?
Yes. A wa.me link in a Button block is free and needs no plugin. Ege Digital Chat Button is also free, with no account or paid version needed for the features above.
Do I need the WhatsApp Business app?
No. Click-to-chat links work with personal and business accounts.
Can I use a landline number?
Only if that number is registered on WhatsApp, for example with the WhatsApp Business app.
Will a WhatsApp button slow my site down?
A plain link adds nothing. Ege Digital Chat Button is plain JavaScript with no dependencies, loaded deferred in the footer, and its QR code script loads only on desktop when the window opens.
Can visitors fill in a short form before the chat?
Yes, with the plugin’s questions before WhatsApp: up to three short questions whose answers are written into the message. For longer forms, file uploads or saving every answer, you need a lead tool such as Wapadesk, our paid product.
WhatsApp is a trademark of Meta Platforms, Inc. Ege Digital Chat Button is made by Ege Digital Ltd and is not affiliated with, endorsed or sponsored by WhatsApp or Meta.


