=== Floating Social Channel Buttons ===
Contributors: wpexplained
Tags: telegram, whatsapp, social icons, floating buttons, sticky bar
Requires at least: 5.5
Tested up to: 6.8
Requires PHP: 7.0
Stable tag: 1.4.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Floating WhatsApp and Telegram buttons with a sticky bar. Boost your channel followers by placing smart social buttons across your WordPress site.

== Description ==

This plugin allows you to easily add floating social buttons for WhatsApp and Telegram on all pages. It includes:

- Floating action buttons on desktop and mobile
- Sticky top bar with customizable message and links
- Customize link, button text, visibility per device, and open target
- Detects device and opens the Telegram app automatically

== Installation ==

1. Upload the plugin to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu.
3. Go to Settings > Channel Buttons to configure.

== Frequently Asked Questions ==

= Can I change the text on the buttons? =
Yes. Go to the plugin settings and change the button label text.

= Can I show it only on mobile or desktop? =
Yes, choose visibility in the settings.

== Screenshots ==

1. Sticky bar with channel links
2. Floating WhatsApp and Telegram buttons
3. Settings screen

== Changelog ==

= 1.4.3 =
* Escaped all dynamic outputs using WordPress standards.
* Fixed Plugin Check and PHPCS errors (security, escaping, sanitization).
* Renamed plugin slug and filenames to meet directory requirements.
* Added fallback default text for button labels and sticky bar.
* Improved Telegram link behavior: app open on mobile, browser fallback on desktop.
* Added ABSPATH check for direct access prevention.

= 1.4.2 =
* Added link target option (open in new tab or same tab).
* Device visibility filter: both, desktop only, mobile only.
* Improved responsive styles.

= 1.4.1 =
* Added settings page with input fields for WhatsApp link and Telegram username.
* Sticky bar customization: message text, visibility toggle.
* Customizable floating button text.

= 1.4.0 =
* Initial release: WhatsApp and Telegram floating buttons.
* Sticky top bar with simple static text.
* Frontend-only output via `wp_footer` hook.
