=== GDPR Cookie Consent ===
Contributors: webtoffee
Donate link: https://www.webtoffee.com/plugins/ 
Tags: eu cookie law, GDPR, cookie law, cookie consent, eu privacy directive, privacy directive, cookies, privacy, compliance
Requires at least: 3.3.1
Tested up to: 5.4
Stable tag: 1.8.7
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

A simple way to get GDPR Cookie Consent as per EU GDPR/Cookie Law regulations. Style it to match your own website.

== Description ==

The GDPR Cookie Consent plugin will assist you in making your website GDPR compliant. It comes with a host of features some of which are listed below.

= Key Features = 

- The plugin will enable a notice with Accept and Reject options. The cookies are not rendered by default and only upon user consent. (The cookie value will be set to ‘null’ by default; it takes a value 'yes' when the user clicks ‘Accept’ and ‘no’ upon 'Reject'. Your developer can check this value to set a cookie accordingly.)

- Admin can configure cookie details and their description from the backend. The list of cookies can be displayed in your cookie policy page by using a shortcode.

- This plugin adds a subtle cookie banner to your website either in the header or footer so you can show your compliance status regarding the new GDPR law.

- You can fully customise the cookie notice style so it blends with your existing website: change the colours, fonts, styles, the position on the page and even how it behaves when you click “Accept”.

- You can choose to make the cookie notice bar disappear after a few seconds (completely configurable) or to accept on scroll (an option available under Italian law).

- It also has a Cookie Audit module so you can easily show what cookies your site uses and display them neatly in a table on your Privacy & Cookies Policy page.


= The plugin uses the following cookies = 

- viewed_cookie_policy – Is the primary cookie that records the user consent for the usage of the cookies upon accept and reject. It doesn’t track any personal data and is set only upon user action(accept/reject).

- cookielawinfo-checkbox-necessary/cookielawinfo-checkbox-non-necessary – Records the default button state of the corresponding category. It works only in coordination with the primary cookie.


This plugin supports WPML and qTranslate so your translation needs are covered.


= Features = 

* Fully customisable to look just like your own website’s style: customise the colours, styles and fonts
* Put the cookie bar in either the header or the footer
* (Optional) accept cookie policy if the user scrolls
* (Optional) automatically close the cookie notice bar after a delay (delay is configurable)
* (Optional) cookie banner can be permanently dismissed or accessible through a “show again” tab
* (Optional) “show again” tab is fully customisable including position shown on page and styles
* “Cookie Audit” shortcode to construct a nicely-styled ‘Privacy & Cookie Policy’
* WPML compatible
* qTranslate support

[Read more about the EU Cookie Law](https://cookielawinfo.com/ "More information about the EU Cookie Law")

<blockquote>

= GDPR COOKIE CONSENT PREMIUM VERSION FEATURES =
&#9989; Manage list of cookies ( Name, CookieID, Description, Duration, Type, Category, Header Script, Footer Script). 
&#9989; Manage Cookie Categories.
&#9989; Scan and auto block scripts – Google Analytics, FB Pixel, Google tag manager, Hotjar, Instagram, etc.
&#9989; Location based exclusion of cookie notice for EU countries.
&#9989; Provide the users with the granular control over the cookies/scripts used by the website.
&#9989; Option to renew consents when there is a change in policy.
&#9989; Optionally log users’ consent and export into a CSV file. 
&#9989; Customize the privacy overview in the cookie banner settings popup.
&#9989; Export/import cookies and related information via CSV file.
&#9989; Scan and import/export the cookies
&#9989; Allow to display cookie notice settings popup where site visitors can opt-in or give consent to cookie categories.
&#9989; Customisable to look just like your own website’s style: customise the colours, styles and fonts.
&#9989; Put the cookie banner in either the header or the footer.
&#9989; Compatibility with major caching servers and plugins.
&#9989; Cookie policy generator
&#9989; Cookie banner preview in admin settings
&#9989; (Optional) accept cookie notice if the user scrolls.
&#9989; (Optional) automatically close the cookie bar after a delay (delay is configurable).
&#9989; (Optional) cookie banner can be permanently dismissed or accessible through a “show again” tab.
&#9989; (Optional) “show again” tab is fully customisable including position shown on page and styles.
&#9989; “Cookie Audit” shortcode to construct a nicely-styled ‘Privacy & Cookie Policy’.
&#9989; WPML,qTranslate,Polylang compatible

For complete list of features and details, Please visit <a rel="nofollow" href="https://www.webtoffee.com/product/gdpr-cookie-consent/">GDPR Cookie Consent Premium Plugin</a> for more details

</blockquote>


= NOTE: INSTALLING THIS PLUGIN ALONE DOES NOT MAKE YOUR SITE GDPR COMPLIANT. SINCE EACH SITE USES DIFFERENT COOKIES, YOU NEED TO ENSURE YOU HAVE THE NECESSARY CONFIGURATIONS IN PLACE WITH A SUPPORTING COOKIE NOTICE. = 

== Frequently Asked Questions ==

There’s a lot of help available on the main plugin website. See:

https://cookielawinfo.com/faq
https://cookielawinfo.com/user-guide
https://cookielawinfo.com/support

= The cookie notice header isn’t displaying ? =
First check you have installed the plugin and have activated it in the plugins panel.
To check if it is switched on or not, go to ‘Settings / Cookie Law Info’ and then enable the header by setting ‘Display cookie bar?’ to ‘yes’.

= The cookie notice header doesn’t work on my browser ? =
Please report a bug on the support forum. Be sure to include the following information:

* Your URL (I will need this in order to help you!)
* WordPress version e.g. 4.2.2 (found in bottom right hand corner of the dashboard)
* Browser e.g. FireFox, Chrome, IE
* Describe the problem

The more information you give, the quicker we can respond.

= What does this plugin do? =
This plugin will:

1. Add a cookie banner to the top/bottom of all pages on your website, notifying the visitor that you have a clearly defined privacy and cookie policy.
2. Allow you to record which cookies your site uses, and:
3. Neatly display a list of these cookies (via a shortcode). You can put this list on your Privacy & Cookie Policy page, for example.

= Does this plugin block all cookies? =
No. This plugin restricts cookies by optionally loading the scripts. For this, you have to add all cookies using the add cookie feature. It is not currently technically possible to completely block all cookies on your WordPress website without first updating all plugins that use cookies in some way. That is beyond the scope of any single plugin.
A more realistic approach for WordPress website owners is to move the scripts that place cookies( for eg Google Analytics tracking code) to the GDPR Cookie Consent plugin and then allow visitors to control it by giving consent.


= Do visitors now have to accept/refuse cookies in order to use websites? =
No. Only the 'necessary' cookies will be loaded till the user gives consent. 

= Does this plugin stop cookies from being stored? =
We provide you the facility to add cookies and the corresponding scripts (This works if the cookies are placed when a script is added to the site header or footer as in the case of Google analytics, Hotjar etc..). In our premium version, visitors can reject the category of cookies they don't want to get installed. In such cases, all cookies in that category will be blocked for the user. In the free version, you can still block the scripts but doesn't have category level granularity.

But if another plugin adds scripts or places a cookie then we do not have any control. We have no way of knowing what plugins you use or how they work, so blocking/deleting cookies on a WordPress website/blog would possibly/probably break your site. Larger websites with huge budgets may well invest in such technology, but this plugin aims to help you provide a certain level of compliance without taking drastic action. 

= Does this plugin guarantee that I comply with this law? =
No.
As a generic plugin, there's no way we can know anything about your specific circumstances. It can be used as part of an overall plan of action to comply, but just installing it and doing nothing more does nothing to help you. In all cases, you need to assess your own website's use of cookies and decide an appropriate course of action. If you are looking for specialist legal advice relating to your website you should always consult a lawyer.
See http://cookielawinfo.com for more information on what is required.


== Screenshots ==

1. Header (with default styles)
2. Admin panel
3. Admin panel - styling the form with colour pickers
4. Header (with custom styles)

== Changelog ==

= 1.8.7 =

* Tested ok with Wordpress version 5.4.0

= 1.8.6 =

* [Bug fix] Privacy overview is not visible if the content is in Cyrillic alphabets
* [Improvements] Fixed compatibility issues with Decorator – WooCommerce Email Customizer

= 1.8.5 =

* Bug fix w.r.t the plugin release version 1.8.4

= 1.8.4 =

* Defaulted privacy overview heading tag to H4
* Introduced 'wt_cli_change_privacy_overview_title_tag' filter to change privacy overview heading tag
* Introduced 'wt_cli_add_custom_cookie_categories_name' filter to change cookie category names

= 1.8.3 =

* PHP 7.4 compatibility
* Security fix

= 1.8.2 =

* Tested ok with WP 5.3

= 1.8.1 =

* Added option in admin to modify the default button state of the non-necessary cookie category
* [Bug fix] Show more / show less issue when custom text editor is used in the privacy overview content.
* Updated translations
* Read me updates

= 1.8.0 =

* [Bug fix] Warning fixes

= 1.7.9 =

* Fixed W3C Validation issues
* [Bug fix] Hide non-necessary category on cookie settings popup if it is not enabled
* [Bug fix] Translation issue with category cookies

= 1.7.8 =

* Fixed issues with translations
* [user_consent_state] added missing space in user consent states
* Fixed issues with web accessibility

= 1.7.7 =

* Introduced new cookie settings popup option
* Added a shortcode [cookie_settings] to control settings
* Option to add descriptions for both necessary and non-necessary cookies
* Tested ok with WP 5.2
* [Bug fix] Responsive styling issues for cookie audit table winter theme


= 1.7.6 =

* Updated translation files for German, Danish, French, Dutch & Spanish
* Added support for Portuguese
* [Bug fix] [cookie_audit] shortcode conflict with heading

= 1.7.5 =

* Defaulted the minimize cookie bar option for Read more link to disabled state.
* The cookie message bar has been defaulted to include Reject option in addition to Accept.

= 1.7.4 =

* Cookie policy generator
* Added a shortcode [user_consent_state]
* Updated shortcode [cookie_audit] with option to configure columns
* Margin option added in all button shortcodes
* Introduced an option to hide cookie bar on policy page
* Tested ok with WP 5.1

= 1.7.3 =

* Translation updated - Danish, French, German
* Readme updates
* Minor UI changes

= 1.7.2 =

* Tested ok with Wordpress version 5.0.2
* Compatibility added for Pixelyoursite plugin


= 1.7.1 =

* Cookie notice as `Widget` option added

= 1.7.0 =

* Bug: Submenu sorting issue for custom user roles

= 1.6.10 =

* Bug: submenu sorting issue for non administrator accounts
* Bug: Flashing the cookie bar on page load.

= 1.6.9 =

* New enclosing shortcode added for better control of third party content. [cookie_after_accept]..content goes here..[/cookie_after_accept]
* Basic support included for Litespeed cache, WP Super Cache, Site ground cache, Endurance Cache, WP Fastest Cache.
* Option to choose from the built-in pages for 'Read More' link.

= 1.6.8 =

* Corrected German translations (thanks to Max B)
* Bug in 'Show cookie bar on selected pages' Filter fixed
* W3TC page cache compatibility added

= 1.6.7 =

* In the previous update a title with default text ‘This website uses cookies‘ would get added to the existing cookie bar. In this update this title will get removed to that it is blank by default. In case you need this to be added again you need to explicitly add suitable content for the title.
* Addressed the conflict with [cookie_reject] shortcode for previous users who had the reject button option enabled.
* Optimized the plugin js and css assets to render only in plugin pages.

= 1.6.6 =

* Improved UI.
* Enhancements to cookie message bar - included title and option for overlay layout.

= 1.6.5 =

* Filter added. (filter to edit audit table head)

= 1.6.4 =

* Class change.
* Bug fix.

= 1.6.3 =

* Styling issues with winter style of cookie audit table shortcode fixed.
* Functionality issues with reject button on open URL fixed.
* Text corrections

= 1.6.2 =

* Issue with reject button colour fixed.

= 1.6.1 =

* Filter to display cookie bar only on selected pages.

= 1.6.0 =

* Issue with dual accept button.

= 1.5.9 =

* Issue with the plugin interfering with breadcrumb fixed.

= 1.5.8 =

* Support for underline tag in the message bar.

= 1.5.7 =
* Danish translation added

= 1.5.6 =
* Changed Reject button colour for Open URL and Close Header options.
* Padding for message header
* Audit table mobile view compatible

= 1.5.5 =
* GDPR compliance updates.

= 1.5.4 =
* Tested OK with WordPress 4.9.5
* GDPR compliance updates.

= 1.5.3 =
* Bug fix: Buttons now handle apostrophes correctly
* Bug fix: Added <tr> to table head for [cookie_audit] table for W3 Validator (thanks to davidebabylonia for finding and suggesting the solution)

= 1.5.2 =
* Minor bug fix: adds version number to cli-admin.css

= 1.5.1 =
* Bug fix: HTML5 validation fix for shortcode links (thanks to davidebabylonia)
* Added JavaScript version number for greater compatibility

= 1.5 =
* Major update: the cookie bar is now inserted into the page via wp_footer rather than using jQuery (for better performance and greater browser compatibility)
* Update: if the cookie bar is in the header, there is now an option to fix the bar to the header using position:fixed

= 1.4.3 =
* jQuery 'reload' bug fix on accept

= 1.4.1 =
* Bug fix: fixed browser compatibility issue in cookielawinfo.js

= 1.4 =
* New feature: accept policy & close cookie bar on scroll (an option available under Italian law)
* New feature: if cookie bar is set to header it is fixed to the top of the screen (using CSS "position:fixed")

= 1.3.2 =
* Bug fix: changed filename from wpml.xml to wpml-config.xml

= 1.3.1 =
* Fixing header/SVN tagging issue

= 1.3 =
* Adding WPML support (wpml.xml)

= 1.2.2 =
* Bug fix: removed extra '{' from cli-tables.css
* Bug fix: fixed cookie_button shortcode text bug
* Modified help pages, text and contact information

= 1.2.1 =
* Added plugin settings page link to plugins.php
* Bug fix: custom posts bug affecting some other plugins

= 1.2 =
* Removed 3rd party JavaScript "jQuery.cookie" which can cause issues with certain versions of Apache server
* Added native JavaScript cookie getter/setter
* Removed JavaScript debug routine
* Replaced JavaScript 'eval' with JSON.parse() for improved security: requires IE8+ (all other browsers fine though- who would have thought?)
* Improved JavaScript performance and compatibility by removing global variables and running as inline function

= 1.1 =
* New feature: auto-hide cookie bar after (configurable) delay
* New feature: added responsive design to cookie audit table (thanks to Mark Wiltshire)
* Upgrade: now using WP3.5 color picker
* Bug fix: Cookie Audit table now shows maximum of 50 posts (was 10, which was a bit restrictive)
* Bug fix: Cookie Law Info now only visible to admins
* Bug fix: fixed typo on Dashboard help section for the [delete_cookies] shortcode
* Bug fix: fixed "invalid header" bug
* Performance enhancement: removed jQueryUI from admin panel and added custom (slimline) code
* Performance enhancement: compressed CSS a bit
* Performance enhancement: cookie audit CSS is now only downloaded on the page on which it is needed

= 1.0.3 =
* Fixed bug where JavaScript generated an http 404 error.

= 0.9 =
* Improved design & appearance
* Cookie Law Info bar can be shown in header or footer
* Customise fonts
* New animations on page load / close header
* Option to switch off "show again tab" - or position it anywhere horizontally in the header or footer. Additionally the styling has been improved and you are now able to customise the message.
* New button styles: better styling and effects, greater control
* Customise your message using HTML and 5 shortcodes with quick-start default options
* "Cookie Audit" module - document the cookies your site uses then display them in your privacy policy via a shortcode
* Enhanced dashboard
* Enhanced help section
* Refactored codebase, improved jQuery performance
* Bugs fixed: no more slashes in Message Box

= 0.8.3 =
* First public release.

== Upgrade Notice ==

= 1.8.7 =

* Tested ok with Wordpress version 5.4.0