=== AddonLogic Cookie Consent Banner ===
Contributors: snehalpancholi
Tags: cookie consent, GDPR, CCPA, privacy, banner
Requires at least: 6.0
Tested up to: 6.7
Stable tag: 1.0.0
Requires PHP: 8.1
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Lightweight GDPR/CCPA cookie consent banner with configurable message, colours, position, and expiry. No jQuery. No tracking.

== Description ==

AddonLogic Cookie Consent Banner adds a fully customisable consent banner to your WordPress site without any external dependencies. Visitors can accept or decline cookies; the choice is persisted as a browser cookie for a configurable number of days. Once consent is recorded the banner never appears again until the cookie expires.

**Features**

* Top or bottom position
* Custom message, accept label, decline label
* Optional privacy policy link
* Background, text, and button colour pickers
* Configurable cookie expiry (1–730 days)
* Vanilla JS — no jQuery
* CSS animation (slide in/out)
* Accessible: `role="dialog"` + `aria-live`

== Installation ==

1. Upload the `cookie-consent-banner` folder to `/wp-content/plugins/`.
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Go to **Settings → Cookie Consent** to configure the banner.

== Changelog ==

= 1.0.0 =
* Initial release.

== Frequently Asked Questions ==

= Does this plugin block third-party scripts on decline? =
No — it records the visitor's preference and surfaces it via the `addlc_ccb_consent` cookie. Use the stored value in your tag manager or custom code to conditionally load tracking scripts.

= How do I link the banner to my privacy policy? =
Enter your privacy policy URL in **Settings → Cookie Consent → Privacy Policy URL**.
