=== Ideal Age Gate ===
Contributors: idealpc
Tags: age gate, age verification, alcohol, cbd, yootheme
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
Stable tag: 2.0.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Free age verification: full-screen window, yes/no buttons or date of birth, ready-made texts for alcohol, tobacco, CBD and more.

== Description ==

Ideal Age Gate asks visitors to confirm their age before they enter the site. It is free and also exists for Joomla.

* Yes/no buttons or date of birth (the age is calculated in the browser, nothing is sent)
* Ready-made texts for alcohol, tobacco and e-cigarettes, CBD, adult content and gambling, translated through translate.wordpress.org (follows the language of the page, also with WPML or Polylang)
* Minimum age of your choice, shown in the texts and on the « 18+ » icon
* Refusal: message with « Back » and « Leave the site », or redirection to a page or URL
* Styles: light, dark, YOOtheme Pro (cards and buttons of your theme) or your own colours; image, logo and icon
* Remembered until midnight, for a number of hours or days, or for the session
* On all pages, all pages except your legal pages, or only on some pages
* Works with page caching (the decision is made in the browser), accessible (keyboard, screen readers)
* With the YOOtheme Pro theme: an « Ideal Age Gate » element for the page builder

== Installation ==

1. Plugins › Add New › Upload Plugin, choose the ZIP and activate.
2. Settings › Ideal Age Gate: switch on « Show the age gate » in the Display tab and choose the pages.

== Frequently Asked Questions ==

= Does it check the visitor's identity? =

No. It is a declaration of age: visitors confirm their age or enter their date of birth. For online sales, add the age check required by law at checkout or delivery.

= Which cookie does it set? =

Only « idealagegate=1 » in the visitor's browser, after confirmation (technically necessary cookie, no personal data). The date of birth is never sent to the server.

= Does it work with page caching? =

Yes. The page is always the same; the decision to show the window is made in the browser.

= How do I keep my legal pages readable? =

Settings › Ideal Age Gate › Display: choose « On all pages except those selected » and tick your legal notice and privacy policy pages.

= Do I need YOOtheme Pro? =

No. The window set in Settings › Ideal Age Gate works with any theme. With YOOtheme Pro you also get an « Ideal Age Gate » element in the page builder.

== Screenshots ==

1. The age gate with the Light style and the alcohol texts.
2. The Dark style.
3. On a phone.
4. Settings › Ideal Age Gate: choose the pages where the gate is shown.
5. Content: type of site, minimum age, yes/no buttons or date of birth.
6. Style: Light, Dark, YOOtheme Pro or custom colours.

== Changelog ==

= 2.0.4 =
* First WordPress version, same features as Ideal Age Gate 2.0.4 for Joomla.
* Settings › Ideal Age Gate (whole site), YOOtheme Pro element, updates from idealpc.ch.
