=== Quick Callback Button ===
Contributors: ditsagency
Donate link: https://dits.agency
Tags: callback, contact, phone, messenger, whatsapp
Requires at least: 5.2
Tested up to: 6.9
Stable tag: 1.2.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Modern floating callback and messenger button for WordPress with popup contact form, WhatsApp, Telegram, Viber, click-to-call and customizable styles.

== Description ==

Quick Callback Button is a modern floating contact button plugin for WordPress that helps visitors contact your business faster through callback requests, phone calls, and popular messengers. 

The plugin adds a customizable floating button with a popup contact form and support for: 
* WhatsApp 
* Telegram 
* Viber 
* Direct phone links 

Designed for lead generation and better user engagement, Quick Callback Button works perfectly for business websites, agencies, services, WooCommerce stores, landing pages, and local companies. 

### Features 
* **Floating callback button** – Always visible but non-intrusive.
* **Modern popup/modal contact form** – Simple and effective for lead capture.
* **Messenger integration** – Quick links to WhatsApp, Telegram, and Viber.
* **Click-to-call** – Direct phone links for mobile users.
* **Email notifications** – Instant alerts for callback requests.
* **Multiple recipients** – Send notifications to several email addresses.
* **Phone validation** – Built-in phone number masking and validation.
* **Full Customization** – Control colors, styles, and animation effects.
* **Themes** – Support for light and dark modal themes.
* **Optimized** – Lightweight, responsive, and mobile-friendly.
* **Compatible** – Works with Elementor, Gutenberg, and all modern themes.

== Installation ==

1. Upload `dits-easy-callback-button` to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Configure the options in the admin panel.

== Screenshots ==

1. General Settings – Configure messengers, phone links, and contact options.
2. Styling & Behavior – Customize button position, colors, and animation effects.
3. Original Theme – Classical design using the custom color settings below.
4. Light Theme – A clean, modern look for the callback modal form.
5. Dark Theme – Stylish dark appearance for the callback modal form.
6. Built-in Font – Preview of the form using the plugin's integrated typography.


== Frequently Asked Questions ==

= Can I change the button color? =
Yes. You can fully customize button colors, hover styles, icon colors, and modal appearance directly from the WordPress admin panel. 

= Can I send callback requests to multiple email addresses? =
Yes. The plugin supports multiple email recipients for callback request notifications. Just enter them separated by commas in the settings.

== Third-party Resources ==

* Resource Name: Phone, Telegram, Viber, WhatsApp Icons (SVG)
  License: GPLv2 or later
  License URI: https://www.gnu.org/licenses/gpl-2.0.html

* Resource Name: IMask.js
  License: MIT
  License URI: https://github.com/uNmAnNeR/imaskjs
  Source: https://imask.js.org/

* Resource Name: MicroModal (micromodal.min.js)
  License: MIT
  License URI: https://opensource.org/licenses/MIT
  Source: https://github.com/ghosh/Micromodal

* Resource Name: Space Grotesk (font)
  License: OFL-1.1
  License URI: https://opensource.org/licenses/OFL-1.1
  Source: https://github.com/floriankarsten/space-grotesk

== External Services ==

This plugin provides an option to contact via WhatsApp. When enabled, it generates a link to the WhatsApp API (https://api.whatsapp.com/send). Data (phone number) is sent only when a visitor clicks the button.
WhatsApp Privacy Policy: https://www.whatsapp.com/legal/privacy-policy

AJAX callback requests: This plugin handles callback requests via an AJAX POST request to the WordPress backend. Data (phone number) is used only to send an email to the site administrator.

== Changelog ==

= 1.2.0 =
* New: Two prebuilt modal themes — Light and Dark — with glassmorphism design.
* New: Button Behavior settings (position, animation, pulse toggle).
* New: Optional self-hosted Space Grotesk font for themed modals.
* Improvement: Plugin settings split into General and Styles tabs.
* Improvement: Updated default button and modal styles.

= 1.1.0 =
* FEATURE: Added a default phone input mask.
* IMPROVEMENT: Added informational helper text for mask configuration.
* IMPROVEMENT: Minor UI and design adjustments for visual consistency.
* FIX: Fixed an issue where the modal window did not close correctly.

= 1.0.1 =
* FEATURE: Added developer hooks (actions and filters).
* IMPROVEMENT: Improved Telegram link compatibility.
* IMPROVEMENT: Added descriptive helper text for settings.

= 1.0.0 =
* Initial release (formerly DITS Easy Callback Button).

== Upgrade Notice ==

= 1.1.0 =
Introduces a default phone input mask and improves modal behavior. Updating is recommended.