=== CDI Notification Banner ===
Contributors:      CDI
Tags:              banner, notification, announcement
Tested up to:      6.7
Stable tag:        1.0.0
License:           GPLv2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html

A fully configurable notification banner for the front-end of your WordPress site.

== Description ==

CDI Notification Banner lets you display a customizable announcement banner at the top or bottom of your site. It is managed entirely from the WordPress admin and requires no coding.

Features include:

* Enable / disable the banner on demand
* Rich-text content via the WordPress editor
* Closable banner with optional "remember close" (cookie-based) and expiry delay
* Slide or fade animation with configurable duration
* Top or bottom position
* Custom background and text colors
* Configurable vertical and horizontal padding (or inherit from a theme wrapper)
* Scheduling: define a start date and/or an end date for automatic display
* Re-open button: a floating button (icon or text) that lets visitors reopen the banner after closing it
* Five built-in icons for the re-open button: bell, info, warning, chat, megaphone
* Visitor reset: increment the banner version to force the banner to reappear for all visitors
* Custom CSS field for urgents overrides only

== Installation ==

1. Upload the plugin folder to the `/wp-content/plugins/` directory, or install it through the WordPress Plugins screen directly.
2. Activate the plugin through the *Plugins* screen in WordPress.
3. Go to *Settings > Bannière de notification* to configure the banner.
4. Enable the banner, write your message, and save.

== Frequently Asked Questions ==

= How do I stop the banner from showing again once a visitor closes it? =

Enable the *Remember close* option and set a number of expiry days. The visitor's preference will be saved in a cookie for that duration.

= How can I force the banner to reappear for all visitors? =

Go to the *Avancé* tab in the settings page and click *Réinitialiser pour tous les visiteurs*. This increments the internal banner version, which invalidates all existing cookies.

= Can I schedule the banner to appear only during a specific period? =

Yes. In the *Affichage* tab, fill in the *Date de début* and/or *Date de fin* fields. The banner will only be shown within that window.

== Changelog ==

= 1.0.0 =
* Release
