=== Call Now Button - The #1 Click to Call Button for WordPress ===
Contributors: jgrietveld, jasperroel
Donate link: https://callnowbutton.com/donate/
Tags: call button, click to call, convert, call now button, contact button
Requires at least: 6.1
Requires PHP: 7.4
Tested up to: 6.9
Stable tag: 2.0.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

The web's #1 click to call button for your website! A simple and powerful plugin that adds a Call Now Button to your website.

== Description ==

### What does the plugin do?

This plugin places a Call Now Button (click-to-call button) to the bottom of the screen. Because your mobile visitors already have a phone in their hands this plugin will allow them to call you with one simple touch of the button.
No more navigating to the contact page and no more complicated copy/pasting or memorizing the phone number!

#### More actions
Connect to our **cloud service** to enable more action buttons such as **WhatsApp**, **Signal**, **Telegram**, **Messenger**, **SMS/Text**, **Email**, **Directions**, **Viber**, **Zalo**, **WeChat**, **Line** and more. Find a more complete overview below in the _Account_ section.

###Could not be easier!
The settings are very easy: enable and enter your phone number. That's it!

The label allows you to add some text to your button. Leaving the label empty will show a nice circular phone button to your visitors (take a look at the screenshots).

#### Presentation controls
Under the **Presentation tab** you can change the colors of the button, move it to a different screen position and limit the pages on which the button should be visible.

#### Settings
In the **Settings menu** you'll find a bunch of features such as click tracking in Google Analytics, fire a conversion tag so a call is registered as a conversion in Google Ads, adjust the size of the button or move the button further backwards in case you want something else to sit on top of it (e.g. your privacy notice). Here you can also enable the connection to our _Cloud service_.

### Connecting to NowButtons.com
Connect the plugin to our cloud service NowButtons.com to unlock more features. Here's an overview:

* ⚡ More actions: SMS/Text, Email, Maps, URLs, Scroll to point
* 🤗 Social actions: WhatsApp, Messenger, Telegram, Signal, Zalo, Viber, Line, WeChat
* 🆕 Create 5 different buttons (instead of 1)
* 🎯 Create smarter rules to decide where buttons should appear
* 👁️️ Live preview

### NowButtons PRO
We also offer a paid version of NowButtons which you can try 14 days for free!

The PRO plan offers the following extras:

* 🧳 Create 100 unique buttons
* 🤹🏽 Multiple buttons on a page
* 🌼 Button templates
* 💬 Live chat (beta)
* 💬 WhatsApp chat window
* 💬 Live Chat (beta)
* 🗓️ Meeting Scheduler (coming soon)
* 💬 Messenger Chat Widget
* 🗂️ Multi action buttons
* 🕘 Scheduler: create a weekly schedule for your buttons
* 🎯 Advanced rules to decide where buttons should appear
* 👋 Add extra attention grabbing animations
* 🎨 Icon picker
* 👽 3rd party integrations
* ✨ Slide-in Content Windows
* 📷 Use custom images on buttons
* 🌍 Include and exclude countries
* ↕️ Appear after scrolling
* 🔌 Intercom integration


== Installation ==

1. From your WordPress Dashboard go to 'Plugins' > 'Add new' and search for 'Call Now Button'.
2. Click 'Install Now' under the title of the Call Now Button plugin
3. Click activate
4. Go to 'Settings' > 'Call Now Button' and check the box to activate the button and enter your phone number.
5. Click 'Save' and you're done!

Or:

1. Upload the `call-now-button`-folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to 'Settings' > 'Call Now Button' and check the box to activate the button and enter your phone number.
4. Click 'Save' and your Call Now Button is live!


== Frequently Asked Questions ==

= Where can I enter my phone number? =

In the Settings section on your WordPress Dashboard you'll find a new addition: Call Now Button. Click on it to go to the plugin settings.

= Can I add text to the button? =

Yes, it is possible to add text to your button. You can chose to show the text inside the full width button across the bottom or top of the screen. It's also possible to add a text bubble next to the circular button. This works for all placements with the exception of the center button positions at the top an bottom of the screen.

= I don't see the button on my website. Why? =

First step is to check if the button is enabled - this is the first checkbox on the settings page.

Next thing is to make sure that your theme is responsive. Responsive means that the website adapts to the size of the screen it's being viewed on. Simply put, if you need to zoom in to be able to read the text of your website on your mobile phone, the plugin will not work.

Last thing to check is if you have a caching plugin installed. Caching plugins make your website faster by showing a copy of your website instead of the actual website. As a consequence you will not see the Call Now Button because the copy was made before the button was installed. To fix this, go to your cache plugin settings page and empty the cache (sometimes called flush the cache). After doing this you should see the button. Do the same thing each time you make changes to the button.

= I only see the button on some pages of my website

You have a caching plugin active on your website and the cached pages are showing an older version of your website. Delete/empty the cache and reload the pages.

Another option could be that you have set the Call Now Button to only appear on specific pages. Go into the Call Now Button settings, open the Presentation tab and check that the field next to Limit appearance is empty.

= Do I have to add a country code to my phone number? =

You don't have to, but we recommend that you do to increase your options internationally.

= Do I start the number with + or 00? =

In most countries you'll be fine using either but there are some exceptions. To be on the safe side we recommend using the plus sign.

= Can I change the appearance of the Call Now Button? =

Yes! You can easily change the color of the button and make it sit in any of the 8 preset locations across the screen of a phone. You also have the option to spread it out over the full bottom or top of the phone screen.

= I only want to show the button on a few pages. Is that possible?

Yes, you can enter the IDs of posts and pages you wish to include or exclude.

= I need way more flexibility! Isn't there a PRO version that I can use? =

Yes, you can connect the plugin to our cloud service NowButtons.com. That already enables a bunch of extras. From there you can easily upgrade to PRO. Scroll up to see what's included PRO. Or check out [NowButtons.com](https://nowbuttons.com/).


== Screenshots ==

1. 3 variations of the Call Now Button
2. 3 examples of the Call Now Button
3. Extra actions available with a NowButtons account. Custom image and custom icons are paid features
4. NowButtons Pro offers a button scheduler
5. NowButtons offers WhatsApp. The WhatsApp Chat window is a Pro feature (direct is free)
6. 3 variants of the Buttonbar (multi-action button is a paid feature)
7. The Multibutton allows up to 10 actions (a paid feature)

== Changelog ==
= 2.0.1 =
* Prevent icon from being lazy loaded
* Prepare contact form addon for Content Window

= 2.0.0 =
* Raised PHP compatibility from 5.4 to 7.4
* Raised WordPress compatibility from 4.1 to 6.1
* Reverted WordPress React library from 6.5 to 6.1
* Bumped major version to 2.0

= 1.5.5 =
* Additional security improvements

= 1.5.4 =
* Small bugfixes and improvements

= 1.5.3 =
* Small bugfixes and improvements to the CI
* Ready for WordPress 6.9

= 1.5.2 =
* Small bugfixes and improvements

= 1.5.1 =
* Update to the Live chat beta window

= 1.5.0 =
* Live chat beta release for PRO customers
* Option to switch from monthly to annual plan

= 1.4.16 =
* Bugfix for 20+ Display Rules on a single button
* Fixed the pagination styling for Display Rules

= 1.4.15 =
* Added new icons to Multibutton and Content Window
* Small bugfixes and improvements

= 1.4.14 =
* Added PRO Account checkout
* Small bugfixes and improvements

= 1.4.13 =
* Bugfixes

= 1.4.12 =
* Ready for WordPress 6.7

= 1.4.11 =
* Bugfixes

= 1.4.10 =
* Ready for WordPress 6.6
* Improved compatibility with PHP 8.2
* Added Blueprints for WordPress Playground

= 1.4.9 =
* Reverted to stable codebase due to inadvertent release of work-in-progress changes.
* Includes fixes & improvements from 1.4.8

= 1.4.8 =
* Small fixes & improvements

= 1.4.6 / 1.4.7 =
* Improvements for Link, Iframe and Email validation

= 1.4.5 =
* Ready for WordPress 6.5

= 1.4.3 =
* Improvements to Preview
* Small fixes & improvements

= 1.4.2 =
* New templates for free plan added
* Improved UI for template picker
* Fix for aria-label for buttons with custom label
* Ready for WordPress 6.4

= 1.4.1 =
* Improved button type selector
* UI improvements
* Fix for API key activation
* Ready for WordPress 6.3

= 1.4.0 =
* Introduced Templates
* Added new multi-button type: Button Flower
* Improved Add New modal
* Improvements for Signal and Viber
* Overall UI improvements

= 1.3.9 =
* Added new multi-button type: Dots (button rows)
* Ready for WordPress 6.2
* Small improvements

= 1.3.8 =
* Performance improvements
* Small fixes

= 1.3.7 =
* Fix for full width display setting
* Fix for php8 warning

= 1.3.6 =
* Minor bugfix for 1.3.5

= 1.3.5 =
* Desktop support
* New social chat channels: Zalo, Line, WeChat, Viber and Skype (NowButtons)
* Facebook Chat widget integration (NowButtons Pro)
* Minor bugfixes
* New screenshots

= 1.3.4 =
* Support content added
* Performance improvements
* UI improvements
* Minor bugfixes
* New screenshots

= 1.3.3 =
* Minor bugfixes and UI improvements

= 1.3.2 =
* [Multibutton] Icon picker for main button
* [Multibutton] Custom image selector for main button
* [Multibutton] Add label to main button
* Content Windows have Slim option
* Introduced PRO accounts
* Black friday & Cyber monday promotions
* Support links point to nowbuttons.com
* Small UI changes

= 1.3.1 =
* Minor bugfixes and UI improvements

= 1.3.0 =
* Cloud becomes NowButtons
* UI improvements
* Changes to free and pro plans (NowButtons)

= 1.2.2 =
* UI improvements

= 1.2.1 =
* Couple of UI improvements
* Minor bug fixes

= 1.2.0 =
* Added an onboarding guide for new Cloud users (Cloud)
* Option to use images/photos on buttons (PRO)
* Create slide-out windows with iframes (Cloud)
* 3rd party integrations with Intercom and Tally (Cloud)
* Fix for WordPress version 4.9
* Small UI improvements

= 1.1.14 =
* New buttons active by default (Cloud)
* Visible on all screens is default (Cloud)
* Changed folder naming for Upress customers

= 1.1.12 =
* Small hotfix

= 1.1.11 =
* Welcome page for new installations
* UI improvements
* Bugfixes

= 1.1.10 =
* Introduced geo targeting (PRO)
* New PRO feature: Reveal at scroll height (PRO)
* Small fixes/improvements

= 1.1.9 =
* Introduced exit surveys
* Error & usage reporting setting (off by default)
* Email subscription setting (Cloud)
* Small fixes/improvements

= 1.1.8 =
* Added missing media query for body padding when using Full Width button

= 1.1.7 =
* Fix for websites using WP Rocket LazyLoad

= 1.1.6 =
* Improved WP Rocket cache handling
* Improved WP Super Cache handling
* Fix for resizing of full width button
* Small UI improvements

= 1.1.5 =
* Fix for W3 Total Cache lazy-loading breaking the button styling

= 1.1.4 =
* New phone icon on call button
* Sunsetted the original (classic) corner button
* Added Facebook Messenger, Telegram and Signal buttons (Cloud)
* New icons for link (calendar) and anchor (up arrow) buttons (Cloud)
* Anchor button now has smooth scroll (Cloud)
* Location button now has directions (Cloud)
* WhatsApp modal improvement (multiple speech bubbles, animated conversation and notification count) (Cloud)

= 1.1.3 =
* Bugfixes

= 1.1.2 =
* Bugfixes

= 1.1.1 =
* Fix for storing profile info

= 1.1.0 =
* Full code refactor
* Conditions now in WordPress table (Cloud)
* Warning notification when debug mode is active (Cloud)
* Added upgrade success page
* Minor bug fixes
* Performance improvements

= 1.0.8  =
* WhatsApp chat modal (Cloud)
* Multiple buttons on a single page (Cloud)
* Icon selection (Cloud)
* Drag and drop action sorting (Cloud)
* Time selector in the preview (Cloud)
* Button animations (Cloud)
* Set link target (Cloud)
* Display setting shown in button overview (Cloud)

= 1.0.7  =
* Bugfix for Localization

= 1.0.6  =
* Adding SMS support to Premium
* More intuitive scheduler in Premium
* Better timezone checks
* Other small fixes and improvements

= 1.0.5  =
* Preview improvements
* Back link when editing actions
* Some bug, style and copy fixes

= 1.0.4  =
* Live button preview in Premium
* Easy activation of Premium via email
* Tab switching while editing
* Bugfix for timezones in scheduler
* Update notice stays visible till closed

= 1.0.3  =
* Fixes a plugin upgrade bug

= 1.0.2  =
* Fixes a domain name bug which caused a very sticky warning notice during the upgrade process

= 1.0.1  =
* Fix upgrade flow

= 1.0.0  =
* Introducing Premium
* UI improvements

= 0.5.0  =
* Button enablement is back in the creation view
* Small UI improvements
* Backend improvements

= 0.4.7  =
* Added notice bar for live buttons without a phone number entered

= 0.4.6  =
* Fixed an upgrade regression (caused by the previous bugfix) which forced the position to become a boolean in certain scenarios

= 0.4.5  =
* Fixed an upgrade regression which forced the position to be FULL in certain scenarios
* Removed HTML element that could overlay the label for certain buttons

= 0.4.4  =
* UI improvements

= 0.4.3  =
* Critical fix

= 0.4.2  =
* Button styling adjustments
* Security improvements (input sanitization, output escaping)

= 0.4.0  =
* Tabbed admin interface
* Google Ads conversion tracking
* Text bubbles for standard circular buttons
* 6 additional button placements
* Hide button on the front page
* Change the color of the icon
* Small design changes
* Other small plugin improvements

= 0.3.6  =
* Validation fixes
* Zoom controls icon size in Full Width buttons

= 0.3.5  =
* Small JS fix

= 0.3.4  =
* Bug fix for function causing 500 error on some versions of PHP
* Added feature to increase or decrease the button size
* Added feature to change the z-index of the button with a slider

= 0.3.3  =
* Check for active caching plugin
* Added links from plugins page to settings page

= 0.3.2  =
* Option to hide icon in text button
* Fix for gtag tracking code
* JS fix
* Fix for iOS border bug

= 0.3.1  =
* Small bug fix

= 0.3  =
* Added the option to add text to your button
* Added option to either include or exclude certain posts and pages to show the button on (this used to be just exclude)
* Some small design changes to the button

= 0.2.1  =
* Fix for conflict with certain 3rd party plugins

= 0.2.0  =
* New circular button design
* Option to revert to the old button design
* Classic button design still available through advanced settings
* Added middle button position
* Added admin notices for clarity
* Added link to Google Analytics integration manual
* More contact links to support and feature requests
* Some small design tweaks to admin screen

= 0.1.3  =
* Click tracking added for Universal Analytics
* Phone icon now SVG so super crisp on high pixel density screens (e.g. Retina screens)
* SVG icon embedded in code so no more http requests

= 0.1.2  =
* Transparent button fix
* Small debug fixes

= 0.1.1  =
* JavaScript fix (needed for Advanced Settings)

= 0.1.0 =
* Change the color of the button
* Change the appearance of the button
* Track button clicks via Google Analytics
* Limit the appearance to specific pages

= 0.0.1 =
* First time launch

== Upgrade Notice ==
= 1.2.1 =
* Upgrade now to keep your Call Now Button up to date. The update contains some small UI improvements and bug fixes.
