=== GDPR Consent Plugin ===
Contributors: wpupgrader, sowmedia
Tags: gdpr, plugins, compliance, consent, embed, cookie, europe, disable plugin, disable script, scripts, regulation, law, moderation
Stable tag: 3.0.10
Tested up to: 5.5
Requires at least: 4.5.1
Requires PHP: 5.6.2
Author: WP Upgrader
Author URI: https://www.wpupgrader.com/
Plugin URI: https://www.wpupgrader.com/gdpr-consent-wordpress-plugin/
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

The best GDPR compliance available! Allows visitors to grant explicit consent for ANY feature of your site. Control activation and deactivation of plugins, content, scripts and more before WordPress is even loaded.
Helps you to truely comply with European GDPR standards.

== Description ==

The best GDPR compliance available! Allows visitors to grant explicit consent for ANY feature of your site. Control activation and deactivation of plugins, content, scripts and more before WordPress is even loaded.
Helps you to truely comply with European GDPR standards.

* Disables all plugins in Wordpress at root level, when setup to work with GDPR Consent plugin.
* Managed plugins only activate once the user gives consent
* Manage your external scripts and inline content with GDPR consents

== Installation ==

Upload the GDPR Consent Lite (or Pro) plugin to your blog, activate it, and then enter your GDPR License Key (PRO only) in GDPR Consent -> License Settings.

1, 2, 3: You're setup!

(Extra configuration can be done on GDPR Consent -> Settings)

Now follow the instructions on:
[https://www.youtube.com/watch?v=Cz0HPp5lZT8](https://www.youtube.com/watch?v=Cz0HPp5lZT8&feature=plugin_repo)
[https://www.wpupgrader.com/knowledge-base/gdpr-consent](https://www.wpupgrader.com/knowledge-base/gdpr-consent/creating-a-consent/)

== Screenshots ==

1. The GDPR Consent Permissionbar allows your visitors to activate consents anywhere on the website.
2. Example of the dedicated GDPR Consent Settings page for end-users.
3. Add, update and delete your Consents as Wordpress Admin.
4. Javascript Tags are supported in PRO version and can be setup to work based on the given Consents.
5. Take control over which features you want to use and many styling options
6. Example of how to hookup Wordpress Plugins to activate/deactivate based on the given Consents.

== Changelog ==

= 3.0.10 =
*Release Date - November 20, 2020*

* Add body tag for Consent Scripts (Pro)
* Various minor bugfixes

= 3.0.9 =
*Release Date - November 16, 2020*

* Merge Consent Cookies for different languages
* Improve WPML compatibility

= 3.0.8 =
*Release Date - October 30, 2020*

* New Theme Padding options - PRO only
* New Shadow & Corner size options - PRO only
* Add Unitpicker component - PRO only
* Fix paddings
* Fix font-face for O I toggle
* Fix permissions / capabilities
* Add maintenance mode Toggle to Settings
* Add maintenance mode (allows you to setup the plugin safely)
* Fix inactive license notice

= 3.0.7 =
*Release Date - October 25, 2020*

* Fix compatibility issues between Lite/Pro edition
* Changed icon from key to globe
  
= 3.0.6 =
*Release Date - October 09, 2020*

* Fix issues with assets not loading
* Fix P tag issue
* Add HEX field for Colorpicker
* Add WPML and Multisite notices
* Add upgrade button to Plugin Page
* Add PRO upgrade Banner
* Update license.txt and readme.txt

= 3.0.5 =
*Release Date - October 02, 2020*

* Page now reloads when accepting settings from Permissionbar
* Improved plugin security
* Update to latest Wordpress Guidelines
* Fix "Settings page not configured warning"
* Various bug fixes and improvements
* Updated readme.txt file

= 3.0.4 =
*Release Date - September 25, 2020*

* Fix some minor bugs with LITE version
* Removed NO Conflict mode (No longer needed)
* Add dedicated Icon Library to replace Font Awesome icons
* Some security updates

= 3.0.3 =
*Release Date - August 18, 2020*

* Add Font-Family theme options
* Add Font-Size theme options
* Fix issue with Not Configured notice

= 3.0.2 =
*Release Date - August 18, 2020*

* Fix WPML Consent Ordering

= 3.0.1 =
*Release Date - July 23, 2020*

* Fix WPML redirect (to correct translation)
* Reduced refresh time default from 1.0 sec to 0.77sec
* Added `require-consents="##,##"` HTML attribute
* Added `require-consents require-consent-## require-consent-##` classes
* Added `show-on-consent-##` class
* Added `hide-on-consent-##` class

= 3.0.0 =
*Release Date - February 25, 2020*

* Release the Lite Version

= 2.0.6 =
*Release Date - July 23, 2020*

* Fix WPML redirect (to correct translation)

= 2.0.5 =
*Release Date - December 10, 2019*

* Hotfix popup mode issue
* Improve visual UI

= 2.0.4 =
*Release Date - December 09, 2019*

* Various fixes and improvements
* Custom links in descriptions
* Option: Change "Close" text to "✖" button

= 2.0.3 =
*Release Date - November 15, 2019*

* Add Google Analytics Direct traffic tracking option in Advanced Settings
  
= 2.0.2 =
*Release Date - September 20, 2019*

* Optimize execution of active plugin filter
* Introduce Factory pattern to resolve `window` conflicts

= 2.0.1 =
*Release Date - August 16, 2019*

* Updated README file with documentation
* Add wrapper function `gdpr_consent(<id>)` to check for consents
* Fix bug with events not propagating properly
* Add Download Export as file feature
* Add Drag n Drop file Import feature
* Clear cache cookie now only set if consents changed
* Add System Requirements in README
* Automatically close popup on Save (in GDPR Settings Popup mode)
* "Forget me" button now also refreshes the page
* Changed gdprc_bar_hidden with gdprc_permissionbar cookie

= 2.0.0 =
*Release Date - July 19, 2019*

* Change License field to Password field
* Add Multisite support
* Add Yoast SEO compatibility
* Fix GDPR Permission Bar nagging when cookies are disabled
* Add GDPR Consents and Settings Export feature
* Add Import feature
  
For older changelog entries, please see the [additional changelog.txt file](https://plugins.svn.wordpress.org/gdpr-consent-lite/trunk/changelog.txt) delivered with the plugin.

== Quick Start Guide ==

= Shortcodes =

* `[gdpr_consent_settings]` This will render the GDPR Settings page. Options include:
  - `popup` (bool) TRUE/FALSE
  - `open` (bool) TRUE/FALSE
  - `suffix` (string) Can be any string, this will be appended to the #id
* `[gdpr_consent_embed]...[/gdpr_consent_embed]` This will wrap Inline content and hides it as long as NO consent is given. If consent is given the content is shown. Options include:
  - `title` The title to render above the Inline consent block (**Optional**)
  - `id` or `ids` the ID or list of ID's (comma seperated) of consents needed to Activate the content.
  - `widget` (BOOL) true/false (Show the widget? Or just display a Notification 'No consent was given.'' This can be configured in the WP Admin Settings)
  - `suffix` Can be any string, this will be appended to the #ID (maybe used to resolve conflicts or display multiple settings pages.)
* Inline shortcode: `[gdpr_consent_inactive_content]` (only work within `[gdpr_consent_embed]`) splits the content as such; above is the Active content, below is the Inactive content. Depending on if consent was given or not it will be either the Active or Inactive content.
 
= Programmatic =

**(This feature is for Developers)**
You can Programmatically check if a consent was given using Wordpress Actions.

*PLEASE NOTE:*
Use `do_action` NOT `add_action` to check if the consent was set!

Available actions:
* gdprc_consent_%ID%_given

Example:
````
if(do_action('gdprc_consent_2635_given')){
    echo 'Consent was given!';
}else{
    // No consent was given
}
````

Alternatively you may use the wrapper method `gdpr_consent(2635)` which is a regular PHP function.

= Template filters =

**This allows you to fully customize the look & feel of the plugin!**
Available Wordpress Template Filters for altering the HTML sections the GDPR Settings page.

* gdprc_settings_before
* gdprc_settings_after
* gdprc_settings_consents_before
* gdprc_settings_consents_after
* gdprc_settings_acceptall_before
* gdprc_settings_acceptall_after
* gdprc_settings_actions_before
* gdprc_settings_actions_after

Available Wordpress Template Filters for altering the HTML sections of GDPR Consents.

* gdprc_consent_before
* gdprc_consent_after
* gdprc_consent_classes
* gdprc_consent_title
* gdprc_consent_iconclass
* gdprc_consent_description
* gdprc_consent_%ID%_before
* gdprc_consent_%ID%_after
* gdprc_consent_%ID%_classes
* gdprc_consent_%ID%_title
* gdprc_consent_%ID%_iconclass
* gdprc_consent_%ID%_description

Available Wordpress Template Filters for altering the HTML sections of GDPR Embedded Content shortcode.

* gdprc_embed_before
* gdprc_embed_after
* gdprc_embed_header
* gdprc_embed_consents_before
* gdprc_embed_consents_after
* gdprc_embed_actions_before
* gdprc_embed_actions_after

Available Wordpress Template Filters for altering the HTML sections of GDPR Permissionbar.

* gdprc_bar_before
* gdprc_bar_after
* gdprc_bar_header
* gdprc_bar_acceptall_before
* gdprc_bar_acceptall_after
* gdprc_bar_actions_before
* gdprc_bar_actions_after
* gdprc_bar_links_before (null, $seperator)
* gdprc_bar_links_after (null, $seperator)
* gdprc_bar_settings_before
* gdprc_bar_settings
* gdprc_bar_settings_after

Available Wordpress Template Filters for altering the CSS rules of all GDPR elements.

* gdprc_stylesheet_before
* gdprc_stylesheet_after
* gdprc_stylesheet_background
* gdprc_stylesheet_border
* gdprc_stylesheet_embed
* gdprc_stylesheet_embed_popup
* gdprc_stylesheet_bar_settings
