=== Vishavjeet Age Consent Banner - Restrict Website Access by Age Verification ===
Contributors: wpvishavjeet
Tags: age verification, age consent, age gate, age restricted, adults only
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Restrict website access until visitors confirm their age. Ideal for age-restricted content and compliance needs.

== Description ==

Age Consent Banner is a WordPress plugin that restricts access to your website until users confirm their age. It is suitable for websites offering age-restricted content, products, or services such as alcohol, tobacco, or adult material.

The plugin is fully customizable from the WordPress admin panel, allowing you to control text, colors, minimum age, session duration, and page exclusions.

### Key Features

* Fully customizable text, colors, and labels
* Session-based age verification
* Minimal data storage for functionality
* Responsive design for all devices
* Simple and intuitive admin settings
* Page exclusion support
* Configurable session duration
* Built following WordPress coding standards
* Secure data handling using WordPress APIs

### Use Cases

* Adult content websites
* Alcohol and tobacco stores
* Age-restricted product shops
* Dating websites
* Cannabis / CBD websites
* Gaming websites with mature content
* Any website requiring age compliance

### Customization Options

* Heading and description text
* Button labels
* Background, text, and button colors
* Minimum age requirement
* Session duration (1–365 days)
* Page exclusions

### Statistics

* View active verification sessions
* Track daily, weekly, and monthly verification counts
* View recent verification activity

### Data & Security

* Uses secure cookies for session handling
* Prepared SQL queries
* Escaped outputs to prevent XSS
* Nonces for CSRF protection
* Automatic cleanup of expired sessions

== Installation ==

1. Upload the `vishavjeet-age-consent-banner` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the Plugins menu in WordPress.
3. Go to **Settings > Age Consent Banner** to configure the plugin.

== Frequently Asked Questions ==

= Does this plugin store personal data? =

The plugin stores minimal data required for functionality, such as anonymous session identifiers, IP addresses, and verification timestamps. This data is automatically removed after session expiration.

= Can I customize the banner design? =

Yes. All text and colors can be customized from the admin settings page.

= Can I exclude certain pages? =

Yes. You can exclude specific pages such as privacy policy or contact pages using page slugs.

= Can I change the minimum age? =

Yes. The minimum age is fully configurable.

= Is this plugin GDPR compliant? =

The plugin is designed to store minimal data for functional purposes. You should consult a legal professional to ensure compliance with your local regulations.

== Changelog ==

= 1.0.0 =
* Initial release
* Customizable age verification banner
* Session-based verification
* Admin settings page
* Statistics overview
* Page exclusion support
* Responsive design

== Privacy Policy ==

This plugin stores the following data for functional purposes only:
* Anonymous session identifiers
* IP addresses
* Verification timestamps
* Session expiration data

All stored data is automatically deleted after expiration.

== Developer Information ==

Developed by **Vishavjeet Choubey**

* Website: https://vishavjeet.in/
