=== NSOL Cookies Solution ===
Contributors: naumananwar
Donate link: https://profiles.wordpress.org/naumananwar/
Tags: gdpr, cookie consent, cookie banner, privacy, ccpa
Requires at least: 5.8
Tested up to: 7.0
Stable tag: 1.1.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Complete GDPR/CCPA cookie consent solution with fully customizable banners, cookie scanner, consent logging, and granular category management.

== Description ==

NSOL Cookies Solution is a complete cookie consent management plugin for WordPress. It helps you comply with GDPR, ePrivacy, CCPA, and other privacy regulations with a fully customizable cookie banner, granular consent controls, and comprehensive logging.

= Key Features =

* Fully customizable cookie banner with live preview
* Multiple banner layouts: banner bar, popup, floating box, slide-in
* Flexible positioning: top, bottom, corners, center
* Complete color and typography customization
* Cookie categories with granular consent controls
* Built-in cookie scanner (auto-detect cookies on your site)
* Consent logging with IP anonymization
* Geo-targeting (GDPR/CCPA region detection)
* Script blocking based on consent
* Cookie declaration table with shortcode and Gutenberg block
* Consent preference modal
* Privacy shortcuts widget
* Import/Export settings
* Developer API (REST, actions, filters)
* Multilingual ready
* Dark mode support
* No external dependencies

== External Services ==

This plugin uses the following external services:

**ip-api.com** — Used for geo-location to detect the visitor's country when the "Geo-Targeting" feature is enabled and set to the ip-api.com provider. When a visitor loads the site, their IP address is sent to ip-api.com to determine their country code. This helps the plugin apply the correct consent mode (GDPR opt-in or CCPA opt-out) based on the visitor's location.
Terms of Service: https://ip-api.com/docs/legal
Privacy Policy: https://ip-api.com/docs/legal

No external services are used for visitor ID generation. Visitor IDs are generated locally using WordPress core functions.

== Installation ==

1. Upload the `nsol-cookies-solution` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to the 'Cookie Solution' menu in your WordPress admin
4. Configure your cookie categories, design, and settings
5. The cookie banner will automatically appear on your website

== Frequently Asked Questions ==

= Is this plugin GDPR compliant? =

Yes. The plugin provides opt-in consent with granular category controls, consent logging, and the ability to block scripts until consent is given.

= Does it support CCPA? =

Yes. The plugin supports opt-out consent mode and geo-targeting for CCPA regions.

= Can I customize the banner design? =

Absolutely. You can customize colors, fonts, border radius, animations, position, and layout. The design page includes a preview feature.

= Does it include a cookie scanner? =

Yes. The built-in cookie scanner can analyze your website pages to detect cookies and third-party scripts, making it easy to populate your cookie list.

= Are there shortcodes available? =

Yes. Use [nsol_cookie_declaration], [nsol_consent_preferences], [nsol_consent_status], and [nsol_privacy_shortcuts] shortcodes.

= Is it compatible with caching plugins? =

Yes. The plugin uses cookies for consent storage and AJAX for consent handling, ensuring compatibility with most caching plugins.

== Screenshots ==

1. Dashboard overview with consent statistics
2. Cookie category management
3. Cookie list management
4. Banner design customization with live preview
5. Comprehensive settings page
6. Cookie scanner
7. Consent logs
8. Front-end cookie banner

== Changelog ==

= 1.1.0 =
* Enhanced admin interface with orange color scheme
* Prominent toggle switch for enabling/disabling cookie banner
* Visual position picker with clickable cards instead of dropdown
* 112 pre-seeded default cookies across all categories
* Full WPML multilingual support with wpml-config.xml
* String Translation integration for banner texts, categories, and cookies
* Smooth center position animation
* Improved stability and PHP 8.x compatibility
* Fixed OPcache issues

= 1.0.0 =
* Initial release
* Cookie banner with multiple layouts and positions
* Cookie categories with granular consent
* Design customization with live preview
* Cookie scanner
* Consent logging
* Geo-targeting support
* Script blocking
* Gutenberg blocks and shortcodes
* Import/Export functionality
* REST API

== Upgrade Notice ==

= 1.1.0 =
Major update: new admin UI with orange theme, toggle switch, visual position picker, 112 default cookies, and full WPML support.

= 1.0.0 =
Initial release.
