=== Tapdock – Floating Call & Chat Buttons ===
Contributors: luuvancuong
Donate link: https://luuvancuong.com
Tags: contact button, hotline, chat button, floating button, call button
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Hotline, Zalo, Messenger and 10 more contact buttons for Vietnamese businesses. Several numbers share one button; phones get a bottom sheet.

== Description ==

Tapdock is a contact dock built around how Vietnamese customers reach a business: a phone call or a Zalo message first, then Messenger, Facebook, Telegram, WhatsApp, Email, Google Maps, TikTok, Shopee, Lazada, YouTube and Instagram.

* Several numbers on one channel (Switchboard, Sales 1, Sales 2...) share one button that opens a picker, instead of a column of look-alike buttons.
* Mobile: up to three buttons are shown directly; four or more channels fold into one labelled button that opens a bottom sheet. You write the label.
* On mobile, the buttons move above a sticky add-to-cart bar (WooCommerce and popular themes) instead of covering it.
* Desktop: a compact dock in the corner; hovering a button shows its label, or the number for a hotline.
* Left or right corner; show or hide per device and per page; export and import settings between sites.
* Under 20 KB CSS and 12 KB JS, no jQuery, no external requests, no tracking, no upsell.
* Most platforms use a single-colour brand glyph (Lazada uses a generic shopping-bag icon); upload your own PNG/WebP icon per contact.
* The settings screen is in Vietnamese.

== Trademarks ==

Zalo, Shopee, Lazada, TikTok, Facebook, Messenger, Instagram, WhatsApp, Telegram, YouTube and Google Maps names and logos are trademarks of their respective owners. They are used only to identify the corresponding service that a button links to. This plugin is not affiliated with or endorsed by any of them. See TRADEMARKS.txt in the plugin folder.

== Installation ==

1. Install and activate the plugin.
2. Go to **Tapdock** in the admin menu.
3. Enter your Hotline number and Zalo number, switch them on. Done.

== Frequently Asked Questions ==

= Does it slow down my site? =

No. One small CSS file and one small JS file are loaded only on pages where the buttons appear. No fonts, no external requests.

= Can I change the logos? =

Yes. Each contact uses its platform glyph by default, or your own PNG/WebP icon.

= I changed a number but the site still shows the old one =

The plugin purges the most common page caches automatically. If you use an external CDN cache, purge it manually.

= Where is the source of the minified CSS and JS? =

The readable sources ship next to them: assets/js/frontend.js, assets/js/admin.js, assets/css/frontend.css and assets/css/admin.css. The .min files are those same files minified with esbuild and lightningcss, without bundling.

== Screenshots ==

1. The dock in the bottom-right corner of a site, one button per channel.
2. Two numbers on the same channel share one button; hovering opens a panel to pick the number to call.
3. A minimal set-up — only a hotline and Zalo; hovering the hotline shows the number next to the button.
4. The same dock in the left corner, with the label of the hovered button.
5. On phones the channels fold into one labelled button that opens a bottom sheet; a channel with several numbers expands in place.
6. Settings: drag to reorder, switches that save instantly, live preview on the right.
7. Adding a contact: pick one of thirteen platforms, then set the name, value, hover label, colour and icon.
8. Display tab: devices, corner of the screen, offsets, breakpoints and button size.
9. Advanced tab: hide the buttons on chosen pages, and export or import the whole set-up.

== Changelog ==

= 1.0.0 =
* Initial release.
