=== Advanced Age Verification Popup ===
Contributors: yeasin1
Donate link: https://wise.com/pay/me/yeasinm6
Tags: age verification, adult content, popup, age gate, woocommerce
Requires at least: 5.0
Tested up to: 7.0
Stable tag: 1.1.1
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add an age verification popup with Yes/No and Date of Birth check for WooCommerce or adult sites.

== Description ==

**Advanced Age Verification Popup** is a powerful, lightweight, and heavily customizable WordPress plugin that allows you to add a modern age verification popup to your website. Ideal for websites selling age-restricted products like vaping supplies, alcohol, CBD, or adult content.

### Premium Key Features (100% Free)

* **Dynamic Minimum Age:** Set the required age to 18, 21, or any custom number.
* **SEO Friendly (Crawler Bypass):** Automatically detects Googlebot, Bing, etc., and hides the popup so your SEO ranking is never negatively impacted!
* **Multiple Verification Methods:** Choose between Yes/No Buttons, Date of Birth (Calendar), or Both.
* **Custom Color Picker:** Fully customize the background, buttons, and text colors from the backend to match your theme.
* **"Remember Me" Consent:** Let users opt-in to a 30-day cookie, or opt-out for a single-session cookie.
* **Bypass Logged-in Users:** Avoid annoying administrators by hiding the popup when logged in.
* **Modern UI:** Features a sleek glassmorphism aesthetic with smooth CSS animations.
* **Custom Logo Upload:** Use the native WordPress Media Uploader.
* **Redirect Underage Users:** Send failed verifications to a custom URL.
* **WooCommerce Compatible:** Works perfectly on all pages and is highly responsive for mobile devices.

### Use Cases

* Vape and E-Cigarette Shops
* Alcohol, Wine, and Spirits Stores
* CBD / Cannabis Dispensaries
* Adult Content Sites

== Installation ==

1. Upload the plugin folder to the `/wp-content/plugins/` directory, or install it directly from the WordPress Plugin Repository.
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Go to **Settings > Age Verification** to configure your popup.
4. Set your colors, text, logo, and choose the verification method.
5. Save changes and you are done!

== Frequently Asked Questions ==

= Does it work with WooCommerce? =
Yes, the plugin works perfectly on all pages, including WooCommerce shop, cart, and checkout pages.

= Will this popup hurt my SEO? =
No! Version 1.1.0 introduces a smart "Crawler Bypass" feature that prevents search engines (like Googlebot) from seeing the popup, ensuring your site gets indexed correctly.

= Can I change the age limit from 18 to 21? =
Yes! You can set a custom dynamic Minimum Age requirement directly in the General Settings tab.

= Does this plugin support translations? =
Yes, it is translation-ready and supports any language.

== Screenshots ==

1. Modern Age verification popup in action.
2. Popup with Date of Birth calendar active.
3. Clean, tabbed Admin settings page with Color Picker.

== Changelog ==

= 1.1.1 =
* Tweak: Added a "Review us on WordPress" request widget to the settings page sidebar.
* Tweak: Optimized plugin repository assets (changed banner format from PNG to JPG for better performance).

= 1.1.0 =
* Major UI Redesign: Added modern glassmorphism aesthetic and smooth CSS animations.
* New Feature: Dynamic Minimum Age limit (e.g., 18, 21+).
* New Feature: SEO Crawler Bypass (Googlebot friendly).
* New Feature: Logged-in User Bypass.
* New Feature: "Remember Me" checkbox for user cookie consent.
* New Feature: Custom Color Pickers in the backend to match any theme.
* Tweak: Replaced browser alerts with inline smooth error messages.
* Tweak: Added native WordPress Media Uploader for the logo.
* Tweak: Organized backend settings into clean navigational tabs.
* Compatibility: Tested up to WordPress 7.0 and requires PHP 7.4.

= 1.0.1 =
* Compatibility update for WordPress 7.0.
* Increased minimum PHP requirement to 7.4.

= 1.0 =
* Initial release.
* Added Yes/No verification.
* Added Date of Birth verification with Flatpickr.
* Customizable settings in WordPress admin.
* Cookie storage for verified users.

== Upgrade Notice ==

= 1.1.1 =
Minor update adding a review request widget to the settings page and optimizing WordPress repository assets.

= 1.1.0 =
Massive update! Introduces SEO Crawler Bypass, Custom Colors, Dynamic Minimum Age, and a completely modernized UI.

= 1.0.1 =
Updates minimum PHP requirement to 7.4 for WordPress 7.0 compatibility.