Code

WhatsApp Click to Chat Plugin for WordPress

WhatsApp Click to Chat Plugin for WordPress

A WhatsApp plugin for your customer support channel.

Ease the communication with your customers by embedding a click-to-chat WhatsApp widget on your site.

Links to demos:

This WordPress WhatsApp plugin is a simple tool to show your team’s accounts in one box. It displays a list of WhatsApp accounts on your site which when clicked, will take the user to that particular account on https://web.whatsapp.com/ if the user is using a desktop, or open the WhatsApp application if she is on a mobile device.

Install this plugin on your WordPress site and you’ll get all the following features:

  • Display multiple accounts
    Are you working in a team? Show each member’s account with their names and titles in a good-looking box on your site and let your visitors know who is who.

  • WooCommerce Product Page Button
    Automatically show a contact button right before or after your Add to Cart button for every product.

  • Set availability by time and days for each account
    What happens when your customers send a message while you’re asleep or spending the time with your family? They’ll think you’re unresponsive. With this plugin, you can set the availability of each account. If no one is around to answer, then the widget will be hidden. This will minimize the chance of letting down your customers. Also, this feature plays nice with any caching plugins. It doesn’t matter if the page is cached, it will hide and show itself accurately.

  • Editable text and color
    Customize the colors to match your site’s theme and the text to represent your main users’ language. Make it personal. Turn your words into a call-to-action!

  • WPML is supported
    If your site is in multi-languages, you can set the text in each of those languages via WPML string translation module.

  • Page targeting
    You can show the WhatsApp box on the whole site or specific post types or even some particular pages.

  • Auto-display based on time delay, inactivity, or scroll length
    If your customers use wide screens, a tiny widget sitting at the corner of your page will have a hard time getting itself noticed. Draw your users’ attentions onto the widget by setting an auto-display for it to tease them. Auto-display can be set based on time-delay, inactivity, or scroll-length.

  • Pre-populated text
    Not everyone knows how to start a conversation – even on an online chat. Help your customers by pre-populating an initial text. If they agree with the tone of your wording, it can be an icebreaker. One simple example is: “Hi Daniel, I was visiting http://yoursite.com and have a question.” Once they submit that text, your name and your URL (which displayed rather nicely on the app thanks to WhatsApp) will be kept on their chat history. It’s a win-win to both sides.

  • WhatsApp link on your content using shortcodes
    Having a WhatsApp widget is perfect to show on the whole site. But what if you need to show a contextual WhatsApp account which refers to your business partners, friends or families? A link to those accounts with predefined text is perfect for that, and it can be done with a simple shortcode.

  • Click Tracking using Google Analytics or Facebook Pixel
    If you have Google Analytics or Facebook Pixel (or both) installed on your WordPress, then the plugin will automatically send data to those services when user clicks a WhatsApp account.

Using WhatsApp as a support channel is effective and affordable. Get one for yourself with a free lifetime updates.

Change Log

06 June 2018 - v2.1.5
-    Improvement: Reduced the gap between the toggle and the box when the toggle is round.
-    Bug fix: Removed legacy code that causes widget to disappear. It only happened in some situation, so no need to update if there's nothing wrong with your current settings.
26 May 2018 - v2.1.4
-    New feature: Option to disable auto-display when no one is online.
22 April 2018 - v2.1.3
-    Improvement: Added prefixes to ajax actions to prevent conflict with other plugins.
21 April 2018 - v2.1.2
-    Improvement: Added versioning to CSS and JS reference to make sure that clients have the latest code.
18 April 2018 - v2.1.1
-    New feature: Auto display on small screen.
-    New feature: Option to keep showing the account even if it's offline but with a message.
16 April 2018 - v2.1
-    Bug fix: Current day is not properly checked.
09 April 2018 - v2.0
Major Update. Please consult the documentation on http://docs.indieplugins.com/wptwa/
-    Integrated with Facebook Pixel and Google Analytics for account clicks.
-    New and better version of shortcode button. Old shortcode will still work, but it's recommended to use the new one.
-    Time and day availability now works on in-page button too.
-    In-page button can be hidden based on screen size.
-    In-page button can display an avatar. If no image used, the plugin will use WhatsApp logo instead. 
-    Page targeting can be used per account, not on the whole widget. Now you can show a different account on different pages in the floating widget.
20 March 2018 - v1.7
-    Bug fix: WPML not displaying correctly.
-    Improvement: WooCommerce button can also show permalink automatically using the [product_link] shortcode.
03 March 2018 - v.1.6
-    Bug fix: Russian cyrillic not displaying correctly.
-    Bug fix: Widget is displayed via AJAX to make sure the time availability is accurate when users have a caching plugin in their WordPress.
09 February 2018 - v.1.4
-    New feature to automatically show a contact button on WooCommerce product pages.
-    New option to show a rounded toggle on mobile device only or desktop only, or both.
08 November 2017 - v.1.3
-    Support for WPML plugin.
03 November 2017 - v.1.2
-    Improvement: An ajax search to find specific pages to be included or excluded from page targeting.
04 October 2017 - v.1.1.2
-    New feature: Added a button to move accounts up or down in the list. Now it's easier to rearrange the queue.
23 September 2017 - v.1.1.1
-    Bug Fix: Fixed link on Safari browser.
15 September 2017 - v.1.1
-    New feature: Exclude certain pages from the selected post types from showing the widget.
25 August 2017 v.1.0.7
-    New feature: Other than phone number, you can also insert an invitation URL to your group chat.
19 August 2017 v.1.0.6
-    Bug Fix: Stop JS execution when WhatsApp box is offline.
04 August 2017 v.1.0.5
-    Bug Fix: Remove browser sniffing to make sure that the plugin works on all devices.
-    Bug Fix: Remove non-numeric characters from phone numbers to make sure that the links are correct.
-    New Feature: Add an option to hide the widget based on the width of the screen. Detecting mobile device is too risky.
29 July 2017 v.1.0.3
-    New Feature: Shortcode to make a Click to Chat button on page and on in text widgets
-    Bug Fix: Time availability not accurate because timezone is not set yet.
15 July 2017 v.1.0.2
-    New Feature: Pre-populated text for each account
10 July 2017 v.1.0.1
-    Bug fix: Account not saved on some conditions
-    Improvement: Adding z-index to WhatsApp box to make sure that it's on top of other elements.
5 July 2017
-    Initial Release
by
by
by
by
by
by