How to Add a WhatsApp Button to WordPress (With and Without a Plugin)

A WhatsApp button on your WordPress site turns visits into conversations: the visitor who hesitated to fill out your contact form will tap the green button without a second thought. Here are the three ways to add one — from a simple link to a professional floating widget — with their pros and cons.

Option 1: A native link or button (no plugins)

The lightest option: create your WhatsApp link and use it in any Gutenberg button block or in your menu. In the editor, add a “Buttons” block, type “Message us on WhatsApp,” and paste your link (for example wha.mx/your-business).

  • Pros: zero extra weight, no plugins to maintain, works with any theme.
  • Cons: the button only lives where you place it — it doesn’t follow the visitor as they browse.

Option 2: A floating widget with one line of code (recommended)

The classic floating green button in the bottom corner, visible on every page. The walinks WhatsApp widget installs by pasting a single line of script — no plugin required — and you manage it from your dashboard: change the number, message, or position without touching the site.

To add it in WordPress without editing theme files: use the “Custom HTML” block in a global widget area, or paste the script into your theme’s footer scripts field if it offers one. If you use a code snippets plugin (WPCode or similar), paste it there as a footer snippet.

  • Pros: always visible, measurable, editable without redeploying, lighter than a full plugin.
  • Cons: requires pasting one line of code (just once).

Option 3: WhatsApp plugins from the repository

The WordPress repository has dozens of chat plugins. They work, but consider the hidden cost: every plugin is code that loads on every visit, updates you have to track, and one more possible vulnerability. If all you need is the button, a one-line widget does the same job with less weight. Choose a plugin only if you need very specific extra features (complex business hours, multiple agents with photos, and so on) — and even then, check that it’s updated frequently.

Where to place the button to convert more

  • Product/service pages: the exact moment of hesitation (“do you have this in size M?”).
  • Contact page: next to the form — many people will prefer WhatsApp.
  • Blog posts: at the end, as the natural next step.
  • Global floating widget: covers everything else.

Track the clicks (or you’re flying blind)

Use a different short link for the button on your site than for your social profiles: with link analytics you’ll know how many conversations start from your website, from which pages, and on which devices. That data is worth more than a thousand visits — it tells you whether your site converts or just decorates.

Frequently asked questions

Does it work with WooCommerce? Yes — any of the three options. The floating widget is especially useful on product pages.

Does it slow down my site? A native link, not at all. The walinks widget loads lazily and weighs a fraction of a typical chat plugin.

Can I show the button only on mobile? Yes, with CSS or the widget’s own settings — though on desktop WhatsApp Web also opens the chat, so it rarely makes sense to hide it.

Create your free WhatsApp link

Turn your phone number into a short link with a pre-filled message in seconds. No sign-up.