WhatsApp Chat Button for Divi 5

A live demo of the three Divi 5 modules in this plugin: WhatsApp Chat, a floating WhatsApp button with a chat window; WhatsApp Button, an inline button; and Opening Hours, a weekly table with an open or closed badge.

The green button in the bottom right corner of this page is the WhatsApp Chat module. Open it, answer the two questions and press Continue on WhatsApp: WhatsApp opens with your answers already written into the message. Messages from this demo go to Ege Digital.

WhatsApp Chat Button for Divi 5 on desktop and phone

Try the modules

The inline WhatsApp Button below opens the same chat window. It can also go straight to WhatsApp, with its own number and message. The Opening Hours table works out whether you are open in your site's time zone, in the visitor's browser, so it stays correct on cached pages.

Opening hours (example)

Monday
09:00–18:00
Tuesday
09:00–18:00
Wednesday
09:00–13:00, 14:00–18:00
Thursday
09:00–18:00
Friday
09:00–17:00
Saturday
10:00–14:00
Sunday
Closed

Built for the Divi 5 Visual Builder

Every setting is in the module's Content tab: the WhatsApp number, start message, greeting, up to three questions, consent text, call and email buttons, opening hours, button position and analytics events. The Design tab styles the window, header, title, subtitle, message bubbles and the WhatsApp button inside the window. The preview in the builder updates as you type.

Divi 5 Visual Builder with the WhatsApp Chat module settings on the Content tab
Divi 5 Visual Builder Design tab with the window header background colour
The chat window on a phone with a name filled in and a choice selected

On a phone

On phones the window fills the width of the screen and the keyboard stays down until the visitor taps a field. The WhatsApp link is a real tap, so the phone hands over to the WhatsApp app.

  • No cookies and no requests to any outside service
  • Scripts load deferred, only on pages that use a module
  • Keyboard and screen reader friendly, with 44 px touch targets
  • Animations stop when the visitor prefers reduced motion