=== FewCookies — Cookie Consent & Legal Footer ===
Contributors: fewcookies
Tags: cookies, consent, gdpr, cookie banner, anpc
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

One script for your whole compliance footer: GDPR cookie banner, ANPC dispute badges and generated legal documents — added to WordPress with your site API key.

== Description ==

FewCookies owns the compliance footer Romanian e-commerce sites legally need —
from a single hosted script. Instead of stitching together a cookie banner, a
lawyer for your legal pages and manually placed ANPC badges, you install one
plugin: a lightweight consent banner with automatic tracker blocking and Google
Consent Mode v2, the official ANPC SOL/SAL dispute links, payment trust marks,
and three generated legal documents (cookie policy, privacy policy, terms) — all
kept current as your site changes. Everything is GDPR / ePrivacy oriented, with
first-class Romanian localization.

This plugin is intentionally thin. It does not bundle the consent logic; it
injects the hosted widget script (served from your FewCookies host) early in the
page `<head>` with your API key. All banner configuration, the footer kit,
scanning, and the GDPR / SEO / performance audit live in the FewCookies
dashboard.

Features:

* One-field setup — paste your `cg_...` API key and enable.
* Whole compliance footer from one script — consent banner, ANPC SOL/SAL badges,
  payment trust marks and links to your generated legal documents.
* Automatic blocking mode — blocks known tracker scripts, iframes, and resource
  hints until the visitor consents.
* Manual blocking mode — only blocks scripts you tag yourself.
* Self-hosting friendly — point the plugin at your own FewCookies host.

== Installation ==

1. Upload the `fewcookies` folder to `/wp-content/plugins/`, or install the zip
   via Plugins → Add New → Upload Plugin.
2. Activate the plugin through the Plugins menu.
3. Go to Settings → FewCookies.
4. Paste your site API key (it starts with `cg_`), tick "Enable widget", and save.

== Frequently Asked Questions ==

= Where do I find my API key? =

In the FewCookies dashboard, open your site's settings. The API key starts with
`cg_`.

= What does the widget add to my site? =

A GDPR consent banner with automatic tracker blocking, plus your compliance
footer: the official ANPC SOL and SAL dispute links, payment trust marks, and
links to the legal documents (cookie policy, privacy policy, terms) generated in
your FewCookies dashboard. You configure all of it from the dashboard, not from
WordPress.

= Does the banner load synchronously? =

Yes. In automatic blocking mode the widget must run before any tracker script,
so the tag is printed early in `<head>` without `async`/`defer`. The bundle is
small (under ~15 KB gzipped).

= I self-host FewCookies. Can I use this? =

Yes — set the "FewCookies host" field to your own deployment's URL.

== Changelog ==

= 1.0.0 =
* Initial release: settings page + early `<head>` injection of the FewCookies
  widget (consent banner, ANPC footer kit and legal links).
