=== Rashid Floating Chat Button ===
Contributors: itsrashid02
Tags: whatsapp, chat, contact, floating button, messaging
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.2
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add a lightweight, customizable floating chat button to your WordPress site. Click-to-chat functionality for mobile and desktop.

== Description ==

Rashid Floating Chat Button is a lightweight, free WordPress plugin that adds a beautiful floating chat button to your website. Perfect for businesses and websites that want to provide instant communication with their visitors.

= Key Features =

* **Floating Chat Button** - Eye-catching floating button that stays visible as users scroll
* **Mobile & Desktop Compatible** - Works seamlessly on all devices
* **Customizable** - Choose button position (left/right), visibility settings, and more
* **Click-to-Chat** - Opens chat app on desktop and mobile devices
* **Custom Messages** - Pre-fill messages for better user experience
* **Page Visibility Control** - Show or hide the button on specific pages
* **Shortcode Support** - Use `[rfcb_button]` shortcode anywhere on your site
* **Lightweight** - No external scripts, SEO-friendly, fast loading
* **GDPR-Friendly** - No user tracking, privacy-focused
* **Fully Customizable** - Easy-to-use admin settings page

= Perfect For =

* Business websites
* E-commerce stores
* Service providers
* Support teams
* Customer service
* Any website wanting instant chat communication

= How It Works =

1. Install and activate the plugin
2. Go to Chat Button in the WordPress admin menu
3. Enter your phone number in international format (e.g., +1234567890)
4. Customize your message and button settings
5. Save changes and the floating button will appear on your website

= Shortcode Usage =

You can also use the shortcode to display WhatsApp buttons anywhere:

`[rfcb_button number="+1234567890" message="Hello!" text="Chat with us"]`

Shortcode attributes:
* `number` - WhatsApp phone number (optional, uses default if not provided)
* `message` - Pre-filled message (optional)
* `text` - Button text (optional, defaults to "Chat on WhatsApp")

== Installation ==

= Automatic Installation =

1. Log in to your WordPress admin panel
2. Navigate to Plugins → Add New
3. Search for "Rashid Floating Chat Button"
4. Click "Install Now" and then "Activate"

= Manual Installation =

1. Download the plugin ZIP file
2. Log in to your WordPress admin panel
3. Navigate to Plugins → Add New
4. Click "Upload Plugin"
5. Choose the ZIP file and click "Install Now"
6. Click "Activate Plugin"

= Configuration =

1. Go to Chat Button in the WordPress admin sidebar menu
2. Enter your phone number in international format (e.g., +1234567890)
3. Set your default message that will be pre-filled when users click
4. Choose button position (left or right side of screen)
5. Configure visibility settings (mobile/desktop, page visibility)
6. Save changes

== Frequently Asked Questions ==

= What format should I use for the phone number? =

Use international format with country code, for example: +1234567890 (no spaces or dashes).

= Can I customize the button appearance? =

Yes! You can choose the button position (left/right) and control visibility on mobile/desktop. The button uses a modern green color scheme.

= Does this plugin track users? =

No. This plugin is GDPR-friendly and does not track or collect any user data.

= Can I use multiple WhatsApp numbers? =

Currently, the plugin supports one default number. You can use the shortcode with different numbers for specific pages or posts.

= Will this slow down my website? =

No. The plugin is lightweight and only loads minimal CSS and JavaScript. It does not use external scripts or APIs.

= Can I hide the button on specific pages? =

Yes! In the settings, you can choose to show the button on all pages, selected pages only, or exclude specific pages.

== Screenshots ==

1. Floating WhatsApp button on website
2. Admin settings page
3. Button customization options
4. Shortcode example

== Changelog ==

= 1.0.0 =
* Initial release
* Floating WhatsApp button
* Admin settings page
* Shortcode support
* Mobile and desktop compatibility
* Page visibility controls
* Customizable button position
* Pre-filled message support

== Upgrade Notice ==

= 1.0.0 =
Initial release of Rashid Floating Chat Button.

== Privacy ==

This plugin does not collect, store, or transmit any user data. It does not use cookies, tracking pixels, or any analytics. The plugin only creates a link to WhatsApp when users click the button. No data is sent to external servers except when the user explicitly clicks the WhatsApp button, which opens WhatsApp (a third-party service) in their browser or app.

== Support ==

For support, feature requests, or bug reports, please visit the support forum on WordPress.org.

== Credits ==

Developed by Muhammad Rashid following WordPress coding standards and best practices.

