=== WP Chat App ===
Contributors: ninjateam
Donate link: https://1.envato.market/WP-WhatsApp
Tags: whatsapp, whatsapp chat, woocommerce whatsapp, click to chat, whatsapp business
Requires at least: 3.0
Tested up to: 6.7
Stable tag: 3.6.9
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Integrate WhatsApp experience directly into your WordPress website.

== Description ==

WhatsApp Chat plugin for WordPress allows you to add a WhatsApp floating button, stationary button, widget, and web beacon to your website. 

[DEMO](https://demo.ninjateam.org/whatsapp-chat-wordpress/) | [GO PRO](https://1.envato.market/WP-WhatsApp) 💎

It's easy to set up and works seamlessly with all cache plugins.

You're free to add **multiple** customer service agents, sales reps, technical support, and more.

[DOCUMENTATION](https://ninjateam.gitbook.io/whatsapp-for-wordpress/)

[youtube https://www.youtube.com/watch?v=7YNIHLtiNo4]

This is the best way to connect and interact with your audience. Via WP WhatsApp button, you can offer support directly, accept order on WhatsApp, build trust, and increase customer loyalty.

###⚡️ FEATURES

**WhatsApp Floating Widget**
Show WhatsApp chat widget on selected pages or all pages' corner.
- Agent name
- Agent title
- Custom color & greetings
- Set pre-filled message with dynamic shortcodes
- Custom availability & working hours (PRO)
- Avatar (PRO)

**WooCommerce WhatsApp Button**
Add Order on WhatsApp button on WooCommerce product pages.
- Choose a specific agent/expert for products
- Display WooCommerce WhatsApp button after 'Add to cart'
- Display before 'Add to cart', after long description or short description (PRO)

**In-post/page WhatsApp Button with shortcode**
- Unlimited display
- Choose a specific agent/expert to fit page/post content
- Optimize audience engagement

**Event Tracking**
- Google Analytics (PRO)
- Google Tag Manager and [Google Analytics 4](https://ninjateam.org/whatsapp-chat-event-tracking-in-google-analytics-4-google-tag-manager/) (PRO)
- Facebook Pixel (PRO)

### WHY USE WHATSAPP FOR WORDPRESS?

**Multiple Agent Accounts**
WhatsApp Chat plugin allows you to add multiple accounts of your members into a WhatsApp box to display. 

**Compatible with WordPress Cache Plugins**
This WhatsApp Chat for WordPress plugin can work with many WordPress hosting caching systems and WordPress optimization plugins. Whether you're using LiteSpeed, W3 Total Cache, WP Rocket, or others, rest assured that they will shake hands.

**Enhanced Customer Relationship**
It’s always better to greet someone by name. Thus, it’s much better when your customers know whom they’re talking to. That's how you can create mutual trust through chat communication and build customer loyalty by leaving a good impression from the very first conversation.

**Easy to Use**
Pick colors to fit your website style and brand. Moreover, you can customize each agent's profile depending on their working hours, daily roster, avatar, name tag, and job title. 

**Support WPML**
Running multilingual websites? Don’t worry! You can use any WordPress translation plugins like WPML, Polylang, etc. to [translate available languages](https://ninjateam.gitbook.io/whatsapp-for-wordpress/integrations/wpml) on your site easily.

**Shortcode Included**
With shortcodes from WP WhatsApp Chat plugin, you can display the click-to-WhatsApp widget anywhere on your site. It can be a page, a post, sidebar, widget, or other elements of your website builder.

**No Coding Required**
Dedicated to designing, we've made UI/UX simple as best as we can. All you need to do is activate the plugin, fill in your WhatsApp phone numbers, customize all the available options, and you're good to go! 

###🚀 HOW IT WORKS

After activating, you can add your WhatsApp account number for the floating widget. This is where your visitors can reach you and see multiple WhatsApp accounts of your store assistants/agents ready with his/her own name, title, avatar, and greetings.

The visitor also knows when you/your agents back to work in the exact **remaining amount of hours and minutes** that they have to wait. This is the unique feature of WP Chat App thanks to its compatibility with all cache plugins:

- W3 Total Cache
- WP Super Cache
- Cache Enabler
- WP Rocket
- Comet Cache
- WP Fastest Cache
- Hyper Cache

###🎉 COMPATIBILITY

WP Chat App plugin has been developed to be compatible with the most popular WordPress page builders, themes and plugins. 

It's perfect to combine WhatsApp customer support plugin with [WooCommerce plugins](https://yaycommerce.com/) or [FileBird](https://ninjateam.org/wordpress-media-library-folders/).

###🤟 ADS TIPS AND TRICKS
- This plugin works seamlessly with [WhatsApp Business App](https://www.whatsapp.com/business/).
- You can run a WhatsApp campaign on Facebook Ads. Your audience will see the call-to-action of “Send message on WhatsApp” on display ads.
- You can suggest questions for people to tap in the omnichannel Messenger-WhatsApp marketing campaigns.
- The WhatsApp Business app includes product catalog, away messages, quick replies and customer/order labels.
- You can get back to those audiences anytime you want.
- WP Chat App plugin is optimized for WooCommerce product pages.
 
== Installation ==
Manual installation is easy and takes less than one minute.

1. Download the plugin from wordpress.org, unpack it and upload the <strong>[WP WhatsApp]</strong> folder to your <strong>wp-content/plugins/</strong> directory.
2. Activate the plugin through the ‘Plugins‘ menu in WordPress.
3. Go to your main <strong>WordPress menu > WhatsApp</strong> to add a new WhatsApp account.
4. Go to Floating Widget to select the WhatsApp profile to display on your website.

Done! Happy chatting!
Enjoy conversations with your customers anytime & anywhere! It's never been easier to capture your potential leads!

== Frequently Asked Questions ==
= Is this WordPress WhatsApp plugin GDPR-compliant? = 
Definitely yes! You can enable built-in GDPR cookie notice checkbox so that the visitors have to tick to agree with your terms and conditions before sending messages. 

= Does it work with multi-language site? =
Yes, You can use translation plugins like [WPML](https://ninjateam.gitbook.io/whatsapp-for-wordpress/integrations/wpml) to translate any languages on your site easily and quickly.

= I have some issues. How can I find help? =
Check out our [tutorial](https://ninjateam.org/wordpress-whatsapp-chat-tutorial/) to see all the setup guide. 
Wanna get in touch? Drop us an email or message [here](https://ninjateam.org/support/).

= Should I buy the premium WhatsApp plugin? =
Definitely yes! The pro version comes with cutting-edge features and performance. Backed by VIP chat support, you will get it done in no time. [Go pro today](https://1.envato.market/WP-WhatsApp) with one-time payment and lifetime updates!

== Screenshots ==
1. Allows you to integrate your WhatsApp experience directly into your WordPress website
2. Making contact and connecting with your business easier & no potential customers ignored
3. WhatsApp Gutenberg Block Demo

== Changelog ==

= Nov 13, 2024 - Version 3.6.9 =
- Fixed: Security 

= Jul 29, 2024 - Version 3.6.8 =
- Fixed: Font style issue

= Jun 18, 2024 – Version 3.6.7 =
- Improved: Button style conflicting with theme
- Fixed: Background button

= Jun 3, 2024 – Version 3.6.6 =
- Improved: Web accessibility (using Tab and Shift + Tab to navigate the chat modal)
- Fixed: Missing text

= May 10, 2024 – Version 3.6.5 =
- Fixed: CleanTalk security report

= Mar 28, 2024 – Version 3.6.4 =
- Fixed: Wordfence bug report

= Mar 19, 2024 – Version 3.6.3 =
- Updated: Change text-domain
- Fixed: Wordfence bug report

= Mar 3, 2024 – Version 3.6.2 =
- Fixed: Wordfence report

= Feb 1, 2024 – Version 3.6.1 =
- Fixed: Hide widget on some pages in Elementor

= Jan 15, 2024 - Version 3.6 =
- Added: Font size of text in widget
- Fixed: Hide/Display widget with post types

= Dec 13, 2023 – Version 3.5 =
- Added: Hook to hide widget for custom post types
- Improved: UI tooltip

= Sep 11, 2023 – Version 3.4.6 =
- Fixed: jQuery warning
- Fixed: Prevent display WhatsApp widget in Oxygen Builder admin dashboard

= Sep 5, 2023 – Version 3.4.5 =
- Fixed: XSS vulnerability

= Aug 9, 2023 – Version 3.4.4 =
- Fixed: Conflict jquery-ui-tabs

= Jun 14, 2023 – Version 3.4.3 =
- Improved: Display on Posts (Show on all posts, Show on these posts, Hide on these posts) (PRO)

= Jun 7, 2023 - Version 3.4.2 =
- Improved: UI Text 

= Jun 2, 2023 - Version 3.4.1 =
- Fixed: Compatible with WooCommerce Products Sold Counter plugin (KoalaApps)
- Fixed: PHP Warning

= Apr 19, 2023 - Version 3.4 =
- Improved: Options Display of Floating Widget 

= Feb 15, 2023 – Version 3.3.3 =
- Fixed: Cache GDPR

= Dec 21, 2022 – Version 3.3.2 =
- Added: Support Porto Theme
- Fixed: Deprecated woocommerce_stock_html filter

= Oct 13, 2022 – Version 3.3.1 =
- Added: Custom code to show button when product out of stock (add_filter('njt_wa_out_of_stock_display', '__return_true'); // Add this code to theme functions.php)

= Sep 16, 2022 – Version 3.3 =
- Added: Display widget on Posts
- Improved: Some text

= Nov 15, 2022 - Version 3.2.1 =
- Added: Some recommended plugins

= Jul 13, 2022 - Version 3.2 =
- Added: Validate fields
- Fixed: Style for range

= Jun 27, 2022 – Version 3.1.9 =
- Added: Recommended plugins

= Mar 27, 2022 – Version 3.1.8 =
- Added: Support Google Tag Manager (PRO)
- Fixed: Support GA4 (PRO)

= Mar 16, 2022 – Version 3.1.7 =
-  Fixed: Google Speed Test (Avoid serving legacy JavaScript to modern browsers)

= Mar 10, 2022 – Version 3.1.6 =
- Added: Break line for chat description, GDPR content notice, responsive time text

= Mar 8, 2022 – Version 3.1.5 =
- Added: Break line for Predefined text

= Dec 22, 2021 – Version 3.1.4 =
- Fixed: Link in frontend

= Dec 6, 2021 – Version 3.1.3 =
- Fixed: Special characters in link (break Predefined Text)

= Aug 6, 2021 - Version 3.1.2 =
- Fixed: Save settings
- Fixed: Load pages in low memory
- Fixed: Save widget distance, save background color in button

= Jun 17, 2021 – Version 3.1.1 =
- Added: New ScrollBar UI
- Improved: No more using jQuery in frontend, use native browser script with fast appearance (no delay like old versions)
- Supported: Riode Theme
- Optimized: Bundle Assets Files
- Fixed: WooCommerce Button
- Fixed: Conflict with Woodmart theme
- Fixed: Widget left position
- Fixed: Conflict CSS Style with jQueryUI
- Fixed: Small bugs

= Apr 20, 2021 – Version 3.0.5 =
- Removed: Option for opening WhatsApp Web URL on mobile

= Apr 14, 2021 – Version 3.0.4 =
- Added: Option for redirect different WhatsApp URL (API, Web, Protocol)

= Mar 23, 2021 – Version 3.0.3 =
- Fixed: Time runs for older WordPress versions below 5.3
- Fixed: Small bugs

= Mar 16, 2021 – Version 3.0.2 =
- Improved: Live preview
- Improved: WhatsApp button live editor in Gutenberg block
- Improved: CSS

= Mar 12, 2021 – Version 3.0.1 =
- Improved: UI
- Updated: POT file
- Fixed: Open WhatsApp button

= Mar 10, 2021 – Version 3.0 - BIG UPDATE =
- Added: Facebook Pixel Analytics (PRO)
- Added: Compatible with all cache plugins
- Added: Widget icon label options
- Added: Widget Distance
- Added: Widget Scroll Bar (PRO)
- Added: Time Symbols
- Added: Button live preview
- Added: Widget live preview
- Added: Custom multiple time (PRO)
- Added: RTL support
- Improved: Change WhatsApp web link to API link
- Improved: WhatsApp button Gutenberg block
- Improved: UI/UX
- Fixed: WhatsApp button
- Fixed: Some small bugs

= Nov 5, 2020 – Version 2.6 =
- Improved: Permissions
- Removed: Missing tags
- Fixed: Conflict with Oxygen builder
- Fixed: Script warnings
- Fixed: Small bugs

= Sep 14, 2020 – Version 2.5 =
- Improved: Floating widget
- Fixed: Duplicate WhatsApp button in WooCommerce product pages
- Fixed: Detect time by WordPress timezone setting 

= Sep 1, 2020 – Version 2.4 =
- Added: Google Analytics
- Added: Support multisite
- Updated: Pot file
- Changed: Some text
- Removed: Unused files
- Fixed: Some small bugs

= Jun 9, 2020 – Version 2.3.3 =
- Fixed: WPML and Floating Widget

= May 15, 2020 – Version 2.3.2 =
- Fixed: WPML and Polylang translation compatibility

= Feb 24, 2020 – Version 2.3.1 =
- Fixed: Get pages error (thanks to bhdrdnz)

= Feb 12, 2020 – Version 2.3 =
- Fixed: Replace link detected in device
- Fixed: Time availibility not correctly 
- Fixed: Display in page chosen

= Nov 21, 2019 – Version 2.2.1 =
- Fixed: WPML conflict

= Apr 9, 2019 – Version 2.2
- Added: Translation files (Spanish, Portuguese, German, French, Russian)

= Feb 28, 2019 – Version 2.1.1 =
- Fixed: Widget disappears once there are too many accounts

= Jan 28, 2019 – Version 2.1 =
- Added: Option to enable/ disable GDPR
- Improved: Work on WordPress with/ without Gutenberg
- Fixed: Small bugs

= 2.0 =
* Added: Select pages to display WhatsApp box
* Added: Select devices desktop/ mobile
* Added: Notice alert for wrong phone number/ group link input
* Added: Translation files (Spanish, Portuguese, German, French, Russian)
* Added: GDPR notice with privacy policy link
* Added: Support Gutenberg
* Added: Option always online
* Added: Option to enable/ disable GDPR
* Added: Edit response time text
* Added: On/Off for widget
* Added: Multi-Languages
* Added: Widget label option
* Added: Default settings
* Added: Ajax accounts loading

* Improved: Translation with PoEdit
* Improved: Clean code
* Improved: Work on WordPress with/ without Gutenberg
* Improved: Optimize plugin
* Improved: Loading speed when select account
* Improved: UI/UX
* Improved: Important updates
* Improved: Link to WhatsApp app on phone
* Improved: List accounts pages


* Fixed: Get pages error (thanks to bhdrdnz)
* Fixed: Replace link detected in device
* Fixed: Time availibility not correctly 
* Fixed: Display in page chosen
* Fixed: WPML conflict
* Fixed: Widget disappears once there are too many accounts
* Fixed: Work with sever cache
* Fixed: GDPR CSS
* Fixed: Error on WooCommerce variable products
* Fixed: Some small bugs
* Fixed: Group link, links in label description
* Fixed: Loading languages
* Fixed: Update options for new version
* Fixed: CSS for button
* Fixed: Display settings for WhatsApp Widget
* Fixed: Some small bugs

= 1.1 =
* Added: Time Availability
* Added: Shortcode [njwa_time_work] for each account
* Added: Button shortcode
* Improved: UI/UX

= 1.0 =
* Version 1.0 Initial Release