=== Click to Chat ===
Requires at least: 4.6
Tested up to: 5.2.3
Requires PHP: 5.6
Contributors: holithemes
Stable tag: trunk
Tags: whatsapp, whatsapp chat, whatsapp business, whatsapp personal, click to chat, whatsapp group, whatsapp group invite, whatsapp message, social chat, contact us, chat, whatsapp group link, holithemes
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Let's make your Web page visitors Contact you through "WhatsApp" with a single click (WhatsApp Chat, WhatsApp Group)

== Description ==

Let's make your Web page visitors Contact you through "WhatsApp" with a single Click (WhatsApp chat, WhatsApp group invite Plugin for WordPress)


**Mobile:** Navigates to WhatsApp App.

**Desktop:** Navigates to WhatsApp Webpage(web.whatsapp.com). user can chat directly from the browser.

[Demo](https://www.holithemes.com/whatsapp-chat/styles/)  

[Documentation](https://www.holithemes.com/whatsapp-chat/)


= How easy the plugin is =

* After installing the plugin, add your WhatsApp number (WhatsApp or WhatsApp business). 
* If using WhatsApp group invite/chat add WhatsApp group id.

And there are lot more features   
we can change the display style to any predefined style
or  
Can add any image/ GIF. 
Can place the styles at any position of the screen.

= Features =

* Navigates to WhatsApp Chat
* Navigates to WhatsApp Group Chat
* Nine pre-configured Styles
* Add Own Image or GIF
* Floating style can position at any place on the screen 
  ( At any pixel of the screen, not limited to fixed positions )
* Hide Styles based on Post type, Post ID, Categories, Device Type
* Pre-filled Message ( Includes Placeholder to add Web page URL )
* Animations
* Shortcodes - with inline content, floating style, Widget Area
* Shortcode supports WhatsApp Chat or WhatsApp Group Chat
* Google Analytics - custom event values
* Google Analytics using Google Tag Manager
* Facebook Analytics - custom event name, custom parameter name, and value

[Google Analytics](https://www.holithemes.com/whatsapp-chat/google-analytics/)

[Facebook Analytics](https://www.holithemes.com/whatsapp-chat/facebook-analytics/)

or using [Google Tag Manager](https://www.holithemes.com/google-analytics-for-click-to-chat-for-whatsapp-plugin/)


= Nine Styles + own Image =

1. **Style-1:** Input field, user can enter text and click send to navigate to WhatsApp page with text
1. **Style-2:** Plain text with a link navigates to WhatsApp App or web.whatsapp.com
1. **Style-3:** image
1. **Style-4:** Chip style - combination of image and a text message 
1. **Style-5:** plain WhatsApp icon - can customize color, height
1. **Style-6:** Icon with Circle border
1. **Style-7:** Icon with box border
1. **Style-8:** Button with text, icon
1. **Style-9:** image
1. **Style - 99:** Own Image / GIF / Animated image


= Initial / Pre-filled Message =

Text Pre-fill at WhatsApp chat window, user can start the conversation easily. 

To add Web page URL in Pre-filled message add {{url}} placeholder - [pre-filled message](https://www.holithemes.com/whatsapp-chat/pre-filled-message/)

by adding the {{url}} placeholder we can understand from which page the user started WhatsApp chat.


= Shortcodes: =

Add styles within line of the post content
By default, Shortcodes take value from what saved in your plugin settings pages, can customize using attributes within the shortcode

**[chat]**

**[chat num=911234567890]**  - To Change WhatsApp number for a shortcode

**[chat style=1]**  - To change Style

**[chat style=2 num=911234567890]**  -  To Change Style, WhatsApp Number

**[chat val='chat to sales team' num=10123456789]**  -  To change the display text value ( for style-1, style-2, style-4, style-8 )

= Add Shortcodes in Widget Area =

Add 'text' or 'HTML' widget in the widget area, and then add shortcode within that widget


== screenshots ==

1. Global Setting page
1. Global Setting page
1. customize Styles
1. can add shortcodes in Text Widget
1. example - shortcodes
1. Style - 2 - plain link


== Installation ==

= From Dashboard ( WordPress admin ) =
* plugins -> Add New
* search for 'click to chat for whatsapp'
* click on Install Now  and then Active.

= using FTP or similar =
* unzip Click-to-Chat file and 
* Upload "Click-to-Chat" folder to the "/wp-content/plugins/" directory.
* Activate the plugin through the "Plugins" menu in WordPress.

== Frequently Asked Questions ==

= WhatsApp Number = 
Enter the WhatsApp number with country code ( e.g. 916123456789 ) please dont include +
here in e.g. 91 is country code 6123456789 is mobile number

e.g.
country code +1
number: 6123456789
WhatsApp number: 16123456789

https://www.holithemes.com/whatsapp-chat/whatsapp-number/

= WhatsApp Group Invite/chat = 

Add [WhatsApp group id](https://www.holithemes.com/whatsapp-chat/find-whatsapp-group-id/) at plugin settings page.


= Position of the Styles =

We can change the position values from the plugin settings page.

Add styles at any position of the screen (not fixed to selected positions).

e.g. 
bottom-right corner
-> select - bottom-right position 
bottom: 10px
right: 10px

bottom center
-> select - bottom-right position 
bottom: 10px 
right: 50%

= GDPR = 

Plugin won't collect your user data and not using cookies.

Plugin won't collect your data also. 

= Get support / Give Support =

* Get support
if any problem please create a [new topic](https://wordpress.org/support/plugin/click-to-chat-for-whatsapp/)
or send an email: wp@holithemes.com

* Give support
If you like the plugin support the developers by giving [5 star rating](https://wordpress.org/support/plugin/click-to-chat-for-whatsapp/reviews/#new-post)


Thanks for showing interest on this plugin.

== Upgrade Notice ==

= using FTP or similar =
* Delete Click-to-Chat folder - your setting will not lost.
* unzip Click-to-Chat file and 
* Upload "Click-to-Chat" folder to the "/wp-content/plugins/" directory.
* Activate the plugin through the "Plugins" menu in WordPress.

= From Dashboard ( WordPress admin ) =
* If plugin new version released - you can see 'update now' link at wp-admin -> plugins
* click on 'update now'

== Changelog ==

= 1.7 =
* Improved plugin performance
* Style-4 simplified
* Style-1 - default theme button
* Fixed some issues

= 1.6 =
* Google Analytics
* Facebook Analytics

= silent release =
* App First option to fix cache issue
* shortcodes new attribute

= 1.5 =
* Initial message - {{url}} placeholder
* new style - Add own Image
* Hide Style based on Device in shotcodes 

= 1.4 =
* New style-9, Green Square
* Supports Analytics - using google tag manager
* animations - alpha version
* style-3 can choose .svg or .png image versions
* style-4 image size reduced, ~ 2kb
* performance improvement.

= 1.3 =
* can add pre-filled text
* style-1 - can change button text.
* setting page link added in plugins page
* show / hide is now changed to hide on - based on page types

= 1.2 =
* improved: code on how to detect mobile device.
* sticky save button in options page - easy to save.
* option page - Documentation links.

= 1.1 =
* convert plugin to bit of OOP style

= 1.0 =
* Initial release.