Jul 20, 2026

How to Add a WhatsApp Button to Your WordPress Site

Add a WhatsApp button to WordPress in minutes with a headers-and-footers plugin or a wa.me link. Step-by-step, plus how to greet and route the chats it starts.

Send bulk WhatsApp messages the safe way
Import a CSV, personalize each message, and broadcast on the official WhatsApp Business API. Free tier: 500 messages a month.
Start free →

Short answer: to add a WhatsApp button to WordPress, install a headers-and-footers plugin, paste a widget snippet into the footer script box, and save. The floating button then appears on every page without touching your theme files. If you only want a single link, create a wa.me link with your number and place it behind a button block. Either way, test it on a phone and a desktop after you publish.

A WhatsApp button gives visitors a one-tap way to talk to you, and on WordPress you have a few ways to add one. The right choice depends on whether you want a button on one page or a floating button site-wide, and on whether you plan to handle the incoming chats by hand or with software. Here are the three methods, from fastest to most capable.

Method 1: a wa.me click-to-chat link (fastest)

The simplest button is just a link. WhatsApp gives every number a click-to-chat URL in the format https://wa.me/15551234567, using your full number in international format with no plus sign, spaces, or dashes. You can add a pre-filled first message with a text parameter, so the visitor only has to hit send.

In the WordPress block editor, add a Buttons block, type your label such as "Chat on WhatsApp," and paste your wa.me link as the destination. Publish, then click it on both mobile and desktop. On a phone it should open the app, and on desktop it should open WhatsApp Web. This method is free and takes two minutes, but the button lives on one page and there is nothing behind it: every chat lands on one phone.

Method 2: a headers-and-footers plugin (site-wide button)

To get a floating button that follows the visitor across every page, use a widget snippet plus a headers-and-footers plugin. This is the method most guides recommend because it keeps the code in one place and survives theme updates.

  1. Install a headers-and-footers plugin from the WordPress plugin directory and activate it.
  2. Generate your WhatsApp widget snippet in your chat tool, setting the button color, position, greeting, and pre-filled message.
  3. Open the plugin settings and paste the snippet into the footer script box.
  4. Save, then load your site and confirm the floating button appears in the corner on both mobile and desktop.

Keep the button clear of cookie banners, back-to-top arrows, and anything near the checkout, since an overlapping button annoys people and costs you clicks. Bottom-right is the convention, but bottom-left works if your theme already uses the right corner.

Method 3: a managed WhatsApp platform (button plus handling)

The first two methods put a button on your site, but they stop the moment someone taps it. If two people message at once, or a visitor writes at 9pm, a bare button leaves them waiting, and a slow reply is the fastest way to lose a warm lead. This is where a platform earns its place.

With a tool like WaBulkSend, the button runs on the official WhatsApp Cloud API. A saved auto-reply greets each visitor in seconds, the chat routes to the right agent in a shared inbox with full history attached, and you can tag the visitor and follow up later with opt-in campaigns. You still add it to WordPress the same way, with a snippet in the footer, but now the conversations are managed instead of piling up on one handset. The full setup, and the difference between a free button and a managed one, is covered on the WhatsApp chat widget page.

Where to place the button on a WordPress site

Placement decides how much the button gets used. A floating button belongs on high-intent pages first: pricing, services, contact, and any page where a visitor is close to a decision and might have one blocking question. On a blog post, a button in context near the end often does better than a floating one people learn to ignore.

Set a greeting that tells the visitor what to expect, such as "Hi, ask us about pricing or book a demo and we will reply shortly." A vague "Hello" gets fewer sends than a prompt that names a reason to message. If you run a WordPress site as part of a wider marketing setup, it is worth having the rest of your channels on autopilot too, which is what an always-on marketing engine handles while you focus on the conversations that convert.

Common mistakes to avoid

Three problems come up again and again. First, a wrong number format: wa.me needs the country code and no symbols, so a US number reads 1 then the ten digits. Second, a button that covers the checkout or a cookie banner on mobile, which quietly kills conversions. Third, no plan for the chats: a button that opens conversations nobody answers is worse than no button, because it sets an expectation you then miss.

How to test it before you call it done

After you publish, open your site on a real phone, tap the button, and confirm WhatsApp opens with your greeting typed in. Do the same on a desktop browser. Send yourself a test message and time how long the auto-reply takes. If you are routing to a team, check that the chat lands in the shared inbox and shows the page the visitor came from. Only once all three work should you push the button to every page.

The bottom line

Adding a WhatsApp button to WordPress is genuinely quick: a wa.me link for one page, or a footer snippet for a site-wide floating button. The part that decides whether it grows revenue is what happens after the tap. Greet fast, route to a person, keep the history, and follow up with people who opted in. Start with the button, then build the handling behind it so every visitor who reaches out actually gets an answer.

Ready to send your first WhatsApp campaign?
Import your contacts, personalize each message, and broadcast on the official WhatsApp Business API. Free tier: 500 messages a month, no credit card.
Start free →