Click to Chat – HoliThemes


WhatsApp Chat. Let’s make your Web page visitors contact you through “WhatsApp” or “WhatsApp Business” with a single click (WhatsApp Chat, Group).

Demo | Documentation | Support | PRO

WhatsApp Chat

Add ‘WhatsApp’ or ‘WhatsApp Business’ Number and let your website visitors contact you with a single click.

📱 Mobile: Navigate to WhatsApp Mobile App.

💻 Desktop: Navigate to the WhatsApp Desktop App or Web WhatsApp page (

💎 Styles

Select a style that complements the design of your website.

  • 8 pre-defined customizable styles/designs
  • Add your own Image/GIF
  • Custom Element/Design (convert any element to a WhatsApp Chat element)
  • Shortcodes (Add WhatsApp button/icon with inline the content)
  • Different Styles, Positions for Mobile, Desktop
  • Choose a style and customize it to match the website’s design

list of Styles | 🎨Customize Styles

💡 Add Own Image

Instead of selecting a pre-defined style, add any Image/Animated-image/GIF.

🌈 Custom Element

Convert any Element as a WhatsApp Chat Element by adding

  • Class/ID name: ‘ctc_chat’ (or)
  • Href/link: ‘#ctc_chat’

The custom design element will navigate to WhatsApp based on plugin settings (WhatsApp Number, pre-filled message, Analytics, …. ).
(e.g. menu item, button, image, link – just add ctc_chat as a class name)

Custom Element

🎉 Greetings Dialog

Encourage user participation by displaying the right message at the right time.

Add the greeting dialog text, Image/GIf, emojis with the rich text editor.
Font can well decorate with font size, font family, links, text color, text background color, bold, italic, list, alignment, and more.

📝 Form Filling

Get the necessary information from the website visitors before initiating the chat.

  • Get an email notification when the user fills out the form.
  • Call a webhook with the form data to integrate with other applications. Using integrations tools add data in Google Sheet, CRM and many more applications.
  • Form data can be prefilled in the WhatsApp chat window.

PRO: Greetings-Form

👥 Multi-Agent

Add multiple WhatsApp chat accounts within a single Greetings dialog.

  • We can set different time ranges for each agent. (24×7 or multiple time ranges for each day of the week).
  • Offline Agents
    • Chat when offline (display agent with next available time).
    • Disable chat (display agent with next available time).
    • Hide offline agents

PRO: Multi-Agent

⌛ Greetings Actions

  • Click: Displays Greetings when clicked on any element with the Class name: ‘ctc_greetings’
  • ViewPort: Displays Greetings When an element is in/reached viewport(25% margin) with the Class name: ‘ctc_greetings_now’ [PRO]
  • Time, Scroll Display Greetings based on time, scroll [PRO]


🔴 Notification Badge

Get user attention by displaying a notification badge on the WhatsApp Chat element.

Customize the notification badge with the notification count, text color, background color, border color, and time delay to display the notification badge.

Notification Badge

✳️ Position to Place

  • Add WhatsApp at any position of the screen
    (not limited to fixed positions).
  • Different positions for Mobile and Desktop.

⏩ Pre-filled Message

Text that appears in the WhatsApp chat window when the user clicks on the WhatsApp.

Users can easily start the conversation.

Variables to change values dynamically

  • {site} -> Website Title
  • {title} -> Page Title
  • {url} -> Web page URL
  • [url] -> Web page full URL including query parameters

With these variables, we can understand from which page the user started WhatsApp chat.

Pre-filled Message

🛍️ WooCommerce

WooCommerce product pages

For WooCommerce, single product pages can overwrite the main setings to add a product specific message using dynamic variables.

  • Pre-filled Message
  • Call to Action
  • Greetings Template, Content [PRO]

Additional variables, specific to WooCommerce single product page to change values dynamically

  • {product} -> Product Name
  • {price} -> Product Price (current price)
  • {regular_price} -> Regular product price (without any sale)
  • {sku} -> Stock keeping unit

For Shop, Cart, Checkout, and Account pages we can overwrite at page level settings

Add WhatsApp – Single Product Pages

Add WhatsApp button or icon at WooCommerce single product pages.

  • Before Main Content
  • Before Product
  • Before Product Summary
  • Product Summary
  • Before Add to Cart Form
  • Before Cart Button
  • After Cart Button
  • After Add to Cart Form
  • After Product
  • After product summary

We can add dynamic variables for the Call to Action.
E.g. Buy {product}
{product} will be replaced with the product name for all product pages.

Add WhatsApp Icon/Button in WooCommerce Product pages

Add WhatsApp – Shop Page

Add WhatsApp to WooCommerce Products list (shop page, related products list)

Shop page

📒 Page Level Settings

At the page level, we can overwrite the settings for each post. We can add a different Whatsapp Number, Prefilled Message, Call to Action for each post
(while editing the post, in the right sidebar ‘Click to Chat’ meta box)

  • WhatsApp Number
  • Call to Action
  • Pre-filled Message
  • Display Settings


  • Change Styles
  • Time Delay
  • Scroll Delay
  • Greetings Template
  • Greetings Header, Main, Bottom Content

Page-level settings

📈 Analytics

Creates an Event when the user clicks on the WhatsApp Icon/button.

Google Analytics

Facebook Pixel

Google Ads Conversations


Connect other applications using Integrate, Automation tools like Zapier, IFTTT, Pipedream, etc.



  • Random Numbers
  • Multi-Agent: Displays multiple WhatsApp chat accounts
    • Set Multiple time ranges for each agent
    • Hide or Display agent with the next available time
  • Business hours: Offline/Online Settings
    • Change WhatsApp number When Offline
    • Change call to Action When Offline
    • Hide When Offline
    • Show/Hide on selected time range in a day
    • Show/Hide on selected days in a week
  • Display based on website visitor’s country
  • Webhooks – Dynamic variables
    • {url} – replace with current page URL
    • {time} – time the user interacted with WhatsApp Button/Icon
    • {number} – WhatsApp Number for that icon/button
  • Greetings
    • Greetings From filling before initiating the chat
    • Actions: Display/reappear based on Time, Page Scroll, Click, ViewPort(When an element is in/reached ViewPort)
  • Position to place
    • Fixed: Fixed position on the screen (default position)
    • Absolute: Fixed position to the body content. (Moves as the user scrolls the page)
  • Time Delay – Displays WhatsApp after some time delay
  • Scroll Action – Displays WhatsApp after user scrolls the page by a given percentage
  • Display based on Website visitor’s login status
  • Page-level settings – Change styles, time delay, scroll delay, Greetings Template, and Greetings Content
  • WooCommerce
    • Overwrite greetings template, Content for Single product pages.
    • Overwrite settings for Shop, Checkout, and Account pages at page-level settings


🎯 Localization

Click to Chat is Compatible with translation plugins. WPML, Polylang.

It is easy to set up different values for each language

  • WhatsApp Number
  • Call to Action
  • Pre-filled Message
  • Greetings Content
  • Group ID
  • Share Text

Setup for WPML, Polylang

🚀 Performance

  • Rich in features, but the site’s front end is very lightweight.

We highly concentrate on speed and performance.

👓 Display Settings

Show/Hide styles based on

  • Post type
  • Post Id
  • Category name
  • Device Type(Mobile, Desktop)
  • WooCommerce single product pages


  • Time delay
  • Scroll delay
  • Selected time range in a day
  • Selected Days in a week
  • Website visitor login status
  • Website visitor country

✅ Opt-in

Make the website users opt-in / accept consent before initiating the chat.


⛳ Shortcodes

Use shortcodes to instead a WhatsApp icon or button with inline the Post content, widget area.

change the default setting values using shortcode attributes – WhatsApp Number, Style, Pre-filled message, Call to Action.

Chat Shortcodes


To change the WhatsApp number use the ‘number’ attribute

[ht-ctc-chat number=915123456789]

Shortcodes for Chat


Enable the Group chat feature and add WhatsApp Group id in the plugin settings.

Make it easy for your customers to join Whatsapp Group.



Let users share your website with their WhatsApp contacts and get more leads.


🌏 Help Translate The Plugin

Help by Translating the plugin to be available in more languages


  • 8 Styles, 1 Add your own image or GIF. Add at any position to the screen (Desktop, Mobile: can set different styles, positions)
  • Select a style and customize it to match your website design.
  • Chat Settings – Enter WhatsApp Number, prefilled message, call to action, desktop: web view / desktop app view
  • Style, position to place (at any position of the screen) – Desktop, Mobile
  • Add WhatsApp Menu item (Custom Element)
  • Change Values at the page level: ‘WhatsApp Number’, ‘Call to action’, ‘Group ID’
  • Style – 5 – Image with content box
  • Style – 8 – Materialize button
  • Style – 99 – Add your own Image / GIF(Animated Image)
  • Customize Styles
  • Enable Group, Share Settings
  • Group settings page
  • Share settings page
  • Display settings
  • Webhooks
  • prefilled, call to action for WooCommerce single product pages
  • Animations
  • Analytics – Google Analytics, Facebook Pixel, Google Ads Conversations


From Dashboard ( WordPress admin )

  • plugins -> Add New
  • search for ‘click to chat’
  • click on Install Now and then Activate.

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.


WhatsApp Number

Enter the WhatsApp number with country code

country code +1
number: 6123456789
** WhatsApp number: 16123456789 **

(WhatsApp Number)[]

Pre-filled Message

Text that appears in the WhatsApp chat window when the user clicks on the WhatsApp.

Add variables to change values dynamically

{url} -> Web page URL
{title} -> Page Title
{site} -> Website Title


Hi {site}!!
I like to know more information about this {title}, {url}.

Variables for WooCommerce single product pages

{product} -> Product Name
{price} -> Product Price (current price might be the sale price/regular price)
{regular_price} -> Regular product price (with out any sale)
{sku} ->Stock keeping unit


Hi {site}!!
I like to buy this {product}, {url}

With this prefilled text, we can know from which page the user started the conversation, the purpose of the contact, and their details

Pre-filled Message
Pre-filled Message for WooCommerce

Select Styles

Select Styles/widget that matches the design
* customize the style to match the website design.
* Add your own Image/GIF
* Custom Element/Design (convert any element to a WhatsApp Chat element)
* Select differnt Styles for mobile, desktop to match the website design.

Position to place the styles

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

Position to place settings


bottom-right corner:
bottom: 10px
right: 10px

Center of the Screen (bottom-center)
bottom: 10px
right: 50%

Center of the Screen (left-center)
bottom: 50%
right: 10px

Plugin supports all CSS units as the suffix. (px, %, rem,…)

position to place


“Click to Chat” don’t collect any of the user data and don’t use cookies.

User consent before starting the chat.


Display only on selected countries

Display based on country

Show/Hide on Selected pages/devices

Show only on selected pages

Hide only on selected pages

Show/Hide on Mobile/Desktop

Localization: Change number, content for each language / page

We can change values for each language if using WPML, Polylang for translation.


From WPML / Polylang Settings -> ‘String Translations’ and filter strings to ‘Click to chat for WhatsApp’ and change value based on language.

  • User Input (Plugin Settings values): – ‘Click to chat for WhatsApp’
  • Admin strings (Plugin Settings) – text domain: ‘click-to-chat-for-whatsapp’

Page-level settings

WhatsApp Group Invite/chat

Enable Group Feature Add WhatsApp group id at plugin settings page. and let user join in WhatsApp Group.

WhatsApp Share

Enable Share feature and let users share your website easily.

Add variables to change values dynamically
{url} -> Web page URL
{title} -> Page Title
{site} -> Website Title

Share Text – E.g.

Checkout this Awesome page {title}, {url}

AMP Compatibility

Click to Chat is Compatible with (AMP)[] plugin. AMP won’t load plugins JavaScript files so limited functionality available.

🔧 Basic Troubleshooting

  • Clear cache
    • from Cache plugins
    • Server side cache (some hosting providers adds cache functionality by default)
    • CDN cache (Cache invalidation)
  • Check Display settings
  • (page level settings)[]

✍️ For any queries, please contact us.

❤️ Support / Contact

For any issues with the plugin / suggestions:

⭐️ Give Support

If you like the plugin, support the developers by giving 5 star rating

Thank you so much in advance from “Click to Chat” Team


April 23, 2024 1 reply
it’s good for me, I have used and then will again come back to new and updated to my reviewed at this site again.
October 23, 2023
Super clean look and easy to use plug-in, with great customization options. The tech support was SIMPLY AMAZING. I wanted the floating button to trigger a ‘Lead’ event in FB Pixel, so I started a WhatsApp chat with the developers and asked them about this feature. They were super polite and informed me that they are looking into adding this feature in their future update by end of next month, and they THANKED ME for my suggestion. I asked them if I could implement the Lead event myself in the meantime, and they provided javascript code snippet which I added to my header and it instantly worked! Amazing! Thank you HoliThemes for such an amazing plug-in and even more amazing & prompt tech support!
July 21, 2022
I tried this plugin and I loved the fact that it was easy to set it up. Also I had a small issue with updating the data and I contacted the support via Whatsapp – They responded very soon and they gave the solution. It worked just fine! Thank you for the support!
Read all 125 reviews

Contributors & Developers

“Click to Chat – HoliThemes” is open source software. The following people have contributed to this plugin.


“Click to Chat – HoliThemes” has been translated into 7 locales. Thank you to the translators for their contributions.

Translate “Click to Chat – HoliThemes” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Enhancement: Analytics. Get the correct number attached to the Widget. (floating widget, shortcodes, pro: Random number, Multi-Agent)


  • Fix: Get the updated URL with query parameters for the pre-filled message variable [url].
  • Page-level settings have a higher prevalence than the string translations of multilingual plugins.


  • Shorcodes now works with URL settings – new tab, same tab, popup.
  • PRO: NEW: Display based on website visitor’s country.


  • Fix: set different widgets for mobile and desktop cache issue.


  • Enhancement: Admin settings WhatsApp number input filed with country code search option.
  • Enchancement: Google Analytics event tracking.


  • Enhancement: Greeting Chat window auto closes after user click to chat.
  • Fix: sanitize shortcode attribute values.
  • Fix: Opt-in message not able to consent for the first click.
  • Enhancement: Greeting dialog close button margin increases for better visibility.


  • Enhancement: Greetings Dialog Close button now with in the content box.
  • New: Preset option for Greetings dialog inital stage. opens by default on desktop and closes on mobile.
  • Fix: Greetings header online status badge for RTL Pages.


  • NEW: Profile picture at the Greetings Dialog header
  • NEW: online/offline status badge at Greetings Header Image
  • PRO: online/offline status badge color based on business hours
  • Enhancement: Select style interface updated