=== Smartfish Cookie Notice ===
Contributors: smartfishcoil
Tags: cookie notice, cookie banner, gdpr, privacy, consent
Requires at least: 5.4
Tested up to: 7.0
Requires PHP: 7.2
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A lightweight, fully editable cookie notice banner. Every visitor-facing string can be rewritten in any language, and the button color and banner style are customizable.

== Description ==

Smartfish Cookie Notice shows a simple, friendly cookie notice to your visitors — as a corner banner or a centered popup — with an optional "Learn more" panel explaining the categories of cookies your site uses (necessary, analytics, marketing).

= Built to be rewritten, not just translated =

Every single string the notice shows — the title, the message, button labels, the info panel, even the form-validation message — is a plain text field in the settings screen. There is no translation file to edit: type the text you want, in any language, and it's live immediately.

= What it does =

* **Banner or popup** display mode, positioned in any corner or centered.
* **Full color control**: button color, text color, background color, and corner rounding — plus a custom CSS field for anything else.
* **Every string editable**: title, message, buttons, the "learn more" info panel (with separate necessary/analytics/marketing sections), the floating "manage cookies" button, and the `[cookie_info]` shortcode text.
* **Optional privacy policy link**: drop a `{privacy_link}` token into any message and it becomes a real link to the URL you set.
* **Floating "manage cookies" button** so visitors can reopen the info panel any time, in any corner.
* **Elementor form protection**: optionally require a privacy-policy checkbox before any Elementor form can be submitted.
* **Admin-only preview mode** to test your settings before visitors see them.

= What it isn't =

This is an informational notice, not a full consent-management platform: it does not block any scripts before a visitor interacts with it, and only remembers (via the browser's local storage) that the notice was dismissed. If you need script-blocking consent management for advertising/analytics tags, pair this with a dedicated consent-mode solution.

Developed by [Smartfish](https://smartfish.co.il/) — WordPress development & maintenance.

== Installation ==

1. In your WordPress admin, go to **Plugins → Add New → Upload Plugin** and choose `smartfish-cookie-notice.zip` (or copy the `smartfish-cookie-notice` folder to `/wp-content/plugins/`).
2. Click **Install Now**, then **Activate**.
3. Go to **Settings → Cookie Notice** to write your own text, pick your colors, and set your privacy policy link.

== Frequently Asked Questions ==

= Can I change the text to my own language? =
Yes — every visitor-facing string is a plain text field on the settings screen. There's nothing to translate in a separate file; just type what you want.

= Does it block cookies or scripts before consent? =
No. It's an informational notice that visitors dismiss — it does not block any script from loading. It's not a substitute for a full consent-management platform if your use case legally requires blocking trackers before consent.

= Can I change just the button color? =
Yes, that's the "Button color" field under Style. You can also change the text and background colors and corner rounding if you want to go further.

= Does it work with Elementor forms? =
Yes — turning on "Add a privacy checkbox to Elementor forms" inserts a required privacy-policy checkbox before the submit button on every Elementor form on the site.

= How do I let visitors reopen the notice later? =
Turn on the floating "manage cookies" button, and/or place the `[cookie_info]` shortcode anywhere in your content — both reopen the same info panel.

== Screenshots ==

1. The cookie banner as shown to visitors.
2. The settings screen — every visitor-facing string is editable.

== Changelog ==

= 1.0.0 =
* Initial release: banner/popup display, full color customization, every string editable, optional floating manage-cookies button, Elementor form protection, and the [cookie_info] shortcode.
