Title: WebBreda Chat &#8211; Contact Button with Opening Hours
Author: WebBreda
Published: <strong>November 28, 2026</strong>
Last modified: November 28, 2026

---

Search plugins

![](https://ps.w.org/webbreda-chat/assets/banner-772x250.png?rev=3831419)

![](https://ps.w.org/webbreda-chat/assets/icon.svg?rev=3831419)

# WebBreda Chat – Contact Button with Opening Hours

 By [WebBreda](https://profiles.wordpress.org/webbreda/)

[Download](https://downloads.wordpress.org/plugin/webbreda-chat.2.0.1.zip)

 * [Details](https://wordpress.org/plugins/webbreda-chat/#description)
 * [Reviews](https://wordpress.org/plugins/webbreda-chat/#reviews)
 *  [Installation](https://wordpress.org/plugins/webbreda-chat/#installation)
 * [Development](https://wordpress.org/plugins/webbreda-chat/#developers)

 [Support](https://wordpress.org/support/plugin/webbreda-chat/)

## Description

A contact button whose behaviour follows your opening hours, so it never invites
someone to chat while nobody is there to answer.

You set your week once. The plugin works out, in the visitor’s browser, whether 
you are open right now – which means a page cache can never serve a stale “we are
open”. Outside your hours you choose what happens: say when you are back (“We are
back tomorrow at 08:30”, worked out from your own schedule), let people write anyway
for you to answer later, or hide the button entirely until you open.

It handles the awkward cases as well: a kitchen that closes at 01:00, a day that
runs 24 hours, a Saturday with different hours, a two-week holiday, and the Dutch
public holidays in one click.

Around that: a panel on your own site before the visitor leaves for WhatsApp, a 
prepared message that can differ per page, a shortcode, and GA4 or Tag Manager events
for the click that matters.

Nothing is loaded from a third party: no tracking script, no cookie, no API key 
and no account.

#### Features

 * Floating button bottom-left or bottom-right, with your own colour, size, edge
   distance and optional label
 * Chat panel with a name, subtitle, profile picture and typing animation
 * A prepared message using the variables {SITE}, {TITLE} and {URL}
 * A different message per page, or hide the button on that page
 * Opening hours per day, including hours that run past midnight and 24-hour days
 * Closed dates and date ranges, with one click to add the Dutch public holidays
 * {NEXT_OPEN} in notices: “We are back tomorrow at 08:30”
 * Three choices outside opening hours: show a notice, show a notice but still allow
   chatting, or hide the button
 * Show on desktop, on mobile, or both
 * Shortcode [wa_connect] for a button or a text link inside your content
 * Google Analytics 4 or Google Tag Manager events, using the tag you already have
   on the site
 * Export and import your settings, which saves time across several sites
 * Accessible: keyboard, screen readers, Escape to close, and it respects “reduce
   motion”

### External services

This plugin links visitors to WhatsApp, a service provided by WhatsApp Ireland Limited(
Meta).

Nothing is sent anywhere while a visitor reads your page. The plugin loads no script,
image or font from WhatsApp and makes no server-side request to it. A request only
happens when the visitor themselves taps through: the browser then opens `https://
wa.me/<your number>` with the prepared message in the URL, and from that point the
visitor is on WhatsApp, under WhatsApp’s own terms.

What goes along in that link is your own phone number and the message text — which,
if you use the variables, may contain the name of your site, the title of the page
and its address.

 * WhatsApp terms of service: https://www.whatsapp.com/legal/terms-of-service
 * WhatsApp privacy policy: https://www.whatsapp.com/legal/privacy-policy

The analytics option sends its two events to the `gtag` or `dataLayer` object that
is already on your site. This plugin adds no Google script of its own; if you have
not installed Google Analytics or Tag Manager, no event leaves the browser.

## Screenshots

[⌊The chat panel as a visitor sees it, with the prepared message.⌉⌊The chat panel
as a visitor sees it, with the prepared message.⌉[

The chat panel as a visitor sees it, with the prepared message.

[⌊Opening hours per day, including days that run past midnight.⌉⌊Opening hours per
day, including days that run past midnight.⌉[

Opening hours per day, including days that run past midnight.

[⌊Closed dates, with the Dutch public holidays added in one click.⌉⌊Closed dates,
with the Dutch public holidays added in one click.⌉[

Closed dates, with the Dutch public holidays added in one click.

[⌊The appearance settings: colour, size, position and label.⌉⌊The appearance settings:
colour, size, position and label.⌉[

The appearance settings: colour, size, position and label.

## Installation

 1. Upload the plugin through Plugins › Add New › Upload Plugin, or copy the folder
    to `/wp-content/plugins/`.
 2. Activate it.
 3. Open “WhatsApp Chat” in the admin menu and fill in your number in international
    format, for example 31612345678.

## FAQ

### Which number format should I use?

Country code plus number, with no plus sign, no spaces and no leading zero. 06 12
34 56 78 becomes 31612345678.

### How do I put a button inside a page?

With the shortcode:

    ```
    [wa_connect text="Request a quote" message="I would like a quote for {TITLE}"]
    ```

Attributes: `text`, `message`, `phone`, `style="button|link"`, `action="panel|chat"`
and `class`. With `action="panel"` (the default) the chat panel opens, so your opening
hours apply; `action="chat"` goes straight to WhatsApp.

Your own link or button with `href="#wa-connect"` opens the panel too.

### Which events are measured?

wa_connect_open when the panel opens (parameter `wa_connect_trigger`: click, auto
or api) and `wa_connect_click` when the visitor goes on to WhatsApp. Under Advanced
you choose between Google Tag Manager (dataLayer) and GA4 via gtag.js.

### How do I test the opening hours?

Add `?wac_debug=1` to any URL on your site; the console then shows the current state,
the next opening moment and the configuration. To simulate a moment in time, set`
window.__wacTestNow = '2026-12-25 10:00';` before the plugin script loads (site 
time).

### Can I open the panel from my own code?

Yes: `WAConnect.open()`, `WAConnect.close()`, `WAConnect.toggle()`, `WAConnect.status()`
and `WAConnect.nextOpen()`. The DOM events `waconnect:open` and `waconnect:click`
are also dispatched on `document`.

### Which hooks are there for developers?

 * `wa_connect_show` (bool): show the button on the current page or not
 * `wa_connect_frontend_config` (array): the configuration that goes to the browser
 * `wa_connect_settings` (array): the settings after loading
 * `wa_connect_sanitize_settings` (array): the settings just before saving
 * `wa_connect_capability` (string): the capability needed for the admin screen (
   default manage_options)
 * `wa_connect_metabox_post_types` (array): the post types that get the block in
   the editor

### Are my settings deleted when I remove the plugin?

Only if you switch on “Delete data on uninstall” under Advanced. Deactivating never
deletes anything.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“WebBreda Chat – Contact Button with Opening Hours” is open source software. The
following people have contributed to this plugin.

Contributors

 *   [ WebBreda ](https://profiles.wordpress.org/webbreda/)

[Translate “WebBreda Chat – Contact Button with Opening Hours” into your language.](https://translate.wordpress.org/projects/wp-plugins/webbreda-chat)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/webbreda-chat/), check
out the [SVN repository](https://plugins.svn.wordpress.org/webbreda-chat/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/webbreda-chat/) 
by [RSS](https://plugins.trac.wordpress.org/log/webbreda-chat/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.0.1

 * Changed: the admin screen, menu and editor box now carry the plugin name, WebBreda
   Chat

#### 2.0.0

 * New: opening hours per day, including past midnight and 24-hour days
 * New: closed date ranges and the Dutch public holidays in one click
 * New: {NEXT_OPEN} in the notice shown outside opening hours
 * New: the option to show a notice but still allow chatting
 * New: a name, subtitle and profile picture in the panel header
 * New: a label beside the button, an edge distance, and separate desktop/mobile
   visibility
 * New: hide the button on a single page from the editor
 * New: the shortcode [wa_connect] and href=”#wa-connect”
 * New: export, import and restore defaults
 * New: a choice between Google Tag Manager and gtag.js, with separate events for
   opening and clicking through
 * New: a JavaScript API (WAConnect.open() and so on) and hooks for developers
 * New: a warning about unsaved changes, and saving with Ctrl/Cmd+S
 * New: uninstall.php, which deletes data only if you asked it to
 * Improved: accessibility; the button used to be invisible to screen readers
 * Improved: the panel only opens by itself if the visitor can actually chat
 * Improved: every string is translatable
 * Fixed: _bold_ was stripped from the WhatsApp message
 * Fixed: the colour picker did not load
 * Fixed: saving jumped back to the first tab
 * Fixed: it was impossible to switch off every day
 * Fixed: text in the panel was not escaped
 * Fixed: the phone number was logged to the console on every page
 * Fixed: wa_connect_click fired on automatic opening as well
 * Settings from 1.x are migrated automatically

#### 1.1.0

 * Closed days, with their own notice
 * Opening hours now follow the site’s timezone
 * A status card in the dashboard showing whether you are open
 * Fixed: active days were not shown as selected

#### 1.0.0

 * First release.

## Meta

 *  Version **2.0.1**
 *  Last updated **53 minutes ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.8 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [business hours](https://wordpress.org/plugins/tags/business-hours/)[click to chat](https://wordpress.org/plugins/tags/click-to-chat/)
   [contact](https://wordpress.org/plugins/tags/contact/)[Opening Hours](https://wordpress.org/plugins/tags/opening-hours/)
   [whatsapp](https://wordpress.org/plugins/tags/whatsapp/)
 *  [Advanced View](https://wordpress.org/plugins/webbreda-chat/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/webbreda-chat/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/webbreda-chat/reviews/)

## Contributors

 *   [ WebBreda ](https://profiles.wordpress.org/webbreda/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/webbreda-chat/)