| 开发者 | kianguyen |
|---|---|
| 更新时间 | 2026年11月11日 02:05 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
dataLayer (default name contact_button_click) with button_type, button_label, button_url, page_location and button_set (the page-specific set name, or default) (copying the number in the desktop call box is sent with button_type = phone_copy), so you can build GA4 or Google Ads conversions in GTM. Optionally the same event is sent through gtag() if gtag.js is already on your page.
Lightweight and cache friendly
dataLayer of your own page; what happens next depends on the tags you configure.
Tiếng Việt
Plugin tạo các nút liên hệ nổi (Gọi, Zalo, Messenger, Viber, WhatsApp, Telegram, Email, SMS, Chỉ đường, link tuỳ ý) ở góc màn hình. Có thêm nút Facebook, TikTok, YouTube, Instagram. Các nút mạng xã hội mặc định dùng logo màu giống icon app; có thể đổi sang logo trắng trên nền màu, biểu tượng đơn giản hoặc tải ảnh riêng lên. Mỗi nút chỉnh được màu, nhãn, hiển thị theo thiết bị và có hiệu ứng rung/sóng để gây chú ý. Có thể gom các nút thành một nút "Liên hệ", hiện số điện thoại kèm nút sao chép khi khách xem trên máy tính, soạn sẵn tin nhắn cho WhatsApp/SMS/Email, ẩn/hiện nút theo giờ làm việc, hiện nút sau khi cuộn trang hoặc sau vài giây. Trên điện thoại có thể chọn kiểu thanh ngang ở đáy màn hình, với một nút nổi bật nhô lên ở giữa. Có thể tạo bộ nút riêng cho từng nhóm trang (ví dụ trang xe tải dùng hotline bán hàng, trang dịch vụ dùng số xưởng) và đặt giờ làm việc khác nhau cho từng ngày. Trang cài đặt có công tắc Điện thoại / Máy tính: mỗi thiết bị có vị trí, khoảng cách mép, kích thước, khoảng cách giữa các nút và gom nhóm riêng, kèm xem trước trực tiếp; có xuất/nhập cài đặt để chép sang website khác. Có thể ẩn nút trên trang chủ, theo loại nội dung, theo ID hoặc ngay trong màn hình sửa bài. Mỗi lượt bấm được đẩy vào dataLayer để đo lường bằng Google Tag Manager. Vào Cài đặt → Nút liên hệ, mục Ngôn ngữ hiển thị, chọn Tiếng Việt để dùng giao diện tiếng Việt.
kianguyen-floating-contact-buttons folder to /wp-content/plugins/, or install it from the Plugins screen.A button is shown only when it is enabled and has a phone number, username or link. Also check its "Show on" setting, the mobile breakpoint, and the "Hide on" options.
Keep "Push a dataLayer event" on. In GTM, create a Custom Event trigger with the event name contact_button_click (or the name you set), add Data Layer Variables for button_type, button_label and button_url, then use them in your GA4 event or Google Ads conversion tag.
In Settings → Contact Buttons → Buttons, click "+ Add a set for specific pages". Give the set a name, enter the page addresses it applies to (for example /products/), post/page IDs or category slugs, then add its buttons or click "Copy buttons from Default" and change the numbers. Each page uses the first enabled set that matches; other pages use the Default buttons. The choice is made on the server for each page, so it works with page caching.
Yes. Enter the username of your Facebook page or personal profile, or paste a full m.me link. For a personal profile, your Facebook privacy settings decide who can message you.
Turn on Settings → Contact Buttons → Working hours, set the opening hours for each day of the week, then set each button to "Only during working hours" or "Only outside working hours". The check uses your site time zone and runs in the visitor's browser, so it stays correct with page caching. If JavaScript is off, all buttons are shown.
WhatsApp, SMS and email. Zalo and Messenger links do not support pre-filled text. Use {title} and {url} to insert the current page title and link.
Yes. Set the button's Icon to "Uploaded image", then upload or pick an image from the Media Library (or paste an image URL). In the round style the image fills the whole button like an app icon, so a square PNG or WebP of the platform's app icon works best.
Yes. The buttons are rendered in the page HTML and mobile/desktop rules use CSS only. There is no AJAX and no nonce on the front end.
Edit the page and tick "Hide contact buttons on this page" in the sidebar, or enter its ID in Settings → Contact Buttons → Hide on these IDs.
Go to Settings → Contact Buttons → Display language and choose "Tiếng Việt". "Same as website" uses community translations first and falls back to the built-in Vietnamese text when your site language is Vietnamese. Vào Cài đặt → Nút liên hệ → Ngôn ngữ hiển thị, chọn "Tiếng Việt". Chế độ "Theo ngôn ngữ website" sẽ tự dùng tiếng Việt khi website đặt ngôn ngữ Tiếng Việt.
The logo shapes for Zalo, Messenger, Viber, WhatsApp, Telegram, Facebook, TikTok, YouTube and Instagram come from Simple Icons (CC0) and are bundled with the plugin. The plugin draws them in each brand's colors (app-style) or in white on the button color. They are updated with plugin releases. All logos are trademarks of their respective owners and are used only to identify each service; please follow each brand's own usage guidelines. Call, SMS, email, directions and link buttons use icons drawn for this plugin.
Go to Settings → Contact Buttons → Export / import settings, click "Export settings" to download a .json file, then use "Import settings" on the other website. Importing replaces all settings there.
Yes. At the top of Settings → Contact Buttons, switch between "Phone" and "Computer". Each device has its own position, distance from the edges, button size, spacing between buttons and grouping, and the preview in the corner follows the device you picked. Buttons, working hours, tracking and language are shared. When you update from an earlier build, the phone settings start with your current computer values.
Switch to "Phone" at the top of Settings → Contact Buttons, then choose Style on phones → Layout → "Horizontal bar at the bottom of the screen". All buttons sit side by side with their labels; tick "Featured" on one button (for example Call) to make it larger and raised in the middle. The page gets extra space at the bottom so the bar does not cover content. Computers keep the floating buttons.