Cookie Consent 2.0 is a major rewrite of the popular Cookie Consent plugin. We’ve retained all the features that originally made the plugin so popular, such as speed of set-up, but added new features based on feedback and requests. Cookie Consent is rated 4.8 / 5 by WordPress users with over 60,000 active installations.
You can download the plugin from the repository here.
Any support questions, please post them to the forum.
You can see the plugin in action here.
We’ve extended the options with the plugin and in version 2.0, we’ve added many new features, including:
- Choice of dismissal method – either on click by the user or timed
- Choice of dismissal element – either button or ‘x’ close
- Option to show the notification on the first page only – subsequent pages visited by the user will not display the message
- Choice of position – either top or bottom bar, or floating in one of the corners of the screen
- Better translation support
- Better responsive support
- More customization options – including the ability to update styles from within the customizer
- Inherits your theme styles where possible
- The option to use an absolute or external URL to link to for further information
- Set the cookie duration
- Set the cookie version – updating a version will reset the cookie on all user sites
Settings can be found at Settings > Cookie Consent:
Determine how the user can dismiss the notification – either by clicking or automatically after a set time
First Page Only
Only display the notification on the first page the user visits
If you have set ‘Close’ to ‘Timed’ you can specify how many seconds the notification will display before automatically closing
Set how many days the cookie should be valid for
Set a version number for the cookie. Updating the version will reset the cookie for every user – this can be useful if you update terms
If you are using the floating corner notification style, you can add a heading.
This first part of the notification message
More Info Text
This forms the anchor text when linking to a page for further information
More Info Page
Select a page from your site
More Info URL
Add an absolute URL to a page on your site or on an external site. This will override the More Info Page setting
More Info Target
Whether to open the page in the same tab or a new tab
If you have a button to dismiss the notification, this is the button text
You can update these settings here or live in the Customizer.
Where to display the notification
Optional class to add to the notification
Deselect this if you are using your own styles
Round the corners on the block-style notification only
Only on the block-style notification
Use X Close
Hide the close button and use a simple ‘x’ icon instead
The color for the text in the notification. By default will inherit from the theme
The notification background color
The link color. By default will inherit from the theme
The text color for the button. By default will inherit from the theme
The background color for the button. By default will inherit from the theme
We think this is the simplest but most effective method of dealing with the legislation – a straightforward approach to help you comply with the EU directive regarding usage of website cookies. It follows the notion of “implied consent” and makes the assumption that most users who choose not to accept cookies will do so for all websites. A user to your site is presented with a clear yet unobtrusive notification that the site is using cookies and may then acknowledge and dismiss the notification or click to find out more. The plug-in automatically creates a new page with pre-populated information on cookies and how to disable them, which you may edit further if you wish.
Importantly, the plug-in does not disable cookies on your site or prevent the user from continuing to browse the site. Several plug-ins have adopted the “explicit consent” approach which obliges users to opt in to cookies on your site. This is likely to deter visitors.