=== BlogDoSEO Disclaimer +18 ===
Contributors: undercover006
Tags: disclaimer, age verification, age gate, 18 plus, adult content
Requires at least: 5.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.1.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Professional +18 disclaimer plugin with dark/light themes, custom logo, colors, and redirect support.

== Description ==

**BlogDoSEO Disclaimer +18** displays a professional age verification modal that blocks access to your site until the visitor confirms they are 18 years of age or older.

= Features =

* Dark and Light themes
* Custom logo support (PNG, JPG, WebP, SVG), with a WordPress Media Library picker, inside/outside position, size and opacity controls
* Full content customization: title, description, button texts, denial screen
* Custom colors for buttons, modal background and text
* Background image support for the overlay
* Redirect visitors who click NO to any URL
* Cookie-based memory: visitors who confirm are not shown the modal again for 30 days
* Scroll lock while the modal is open
* Blur effect on background content
* Fully responsive (mobile and desktop)
* Keyboard-friendly modal with focus management
* Intuitive admin panel with tabs: General, Content, Design, Advanced

= Privacy =

This plugin uses a browser cookie (blogdoseo_disclaimer_accepted) to remember the visitor's choice for 30 days. No personal data is collected or sent to external servers.

== Installation ==

1. Upload the blogdoseo-disclaimer folder to the /wp-content/plugins/ directory, or install directly via the WordPress plugin screen.
2. Activate the plugin through the Plugins menu in WordPress.
3. Go to Settings > Disclaimer +18 to configure the plugin.

== Frequently Asked Questions ==

= Does this plugin work with current WordPress and PHP versions? =

Version 1.1.0 was functionally tested with WordPress 7.1 and PHP 8.5.10. Tests covered activation, settings, desktop and mobile display, cookie persistence, custom content and logo position, light-theme colors, keyboard navigation, the Media Library picker, and the configured redirect. Minimum requirements remain WordPress 5.0 and PHP 7.4.

= Can I change the button texts? =

Yes. Go to Settings > Disclaimer +18 > Content tab and update the YES and NO button texts to anything you like.

= Can I use my own logo? =

Yes. In the General tab, choose an image from the WordPress Media Library or paste its full URL. You can also adjust its position, size and opacity.

= What happens when a visitor clicks NO? =

The visitor sees the denial screen first. Its Back button redirects to the URL set in the Advanced tab; by default, that URL is Google.

= How long is the visitor's choice remembered? =

The plugin saves a cookie for 30 days. After that, the modal will appear again.

= Does the plugin work on mobile? =

Yes, the modal is fully responsive and adapts to any screen size.

== Screenshots ==

1. Age verification modal on the frontend
2. General settings - theme and logo options
3. Content settings - customize texts and buttons
4. Design settings - colors and background
5. Advanced settings - redirect URL

== Changelog ==

= 1.1.0 =
* Added WordPress Media Library image picker and preview
* Added functional outside logo position
* Fixed custom colors in the light theme
* Improved keyboard navigation, focus handling and mobile layout
* Added safer validation for logo size and opacity
* Tested with WordPress 7.1 and PHP 8.5.10

= 1.0.0 =
* Initial release
* Dark and light themes
* Custom logo with size and opacity controls
* Full content and color customization
* Background image support
* Cookie-based memory (30 days)
* Redirect on NO
* Responsive layout

== Upgrade Notice ==

= 1.1.0 =
Adds the Media Library picker, logo placement, accessibility and responsive improvements.

= 1.0.0 =
Initial release.
