WordPress.org

Plugin Directory

Lightweight Cookie Notice – Cookie Banner for Cookie Consent

Lightweight Cookie Notice – Cookie Banner for Cookie Consent

Description

This is the free version of Lightweight Cookie Notice, the lightweight and customizable cookie plugin for WordPress.

A high-performance Cookie Plugin

This plugin generates the cookie notice with a single 9kb file (gzipped) written in pure JavaScript.

We recommend this plugin for high-performance websites or websites with a high number of visits.

83 Style Options

With the style options available in the plugin settings, you can customize the typography, the colors of all the elements, or even control details like borders, drop shadows, opacities, and more.

With all these options, you can create a cookie notice consistent with the style of your website.

Works with all the caching plugins

This plugin verifies the cookie acceptance with JavaScript. For this reason, all the caching plugins (E.g. WP Super Cache, W3 Total Cache, LiteSpeed Cache, WP Fastest Cache) are supported.

Geolocation

Display the cookie notice only to the users located in a custom-defined list of countries with the geolocation feature included in the plugin.

The plugin currently integrates two alternative geolocation services. The instructions to set up these services are available in the geolocation section of the plugin manual.

MaxMind GeoLite2

To enable the MaxMind GeoLite2 geolocation service, create a MaxMind account, download the provided databases, and configure the paths to these files in the plugin settings.

HostIP.info

In this case, the IP geolocation data are retrieved with HTTP requests to the HostIP.info website. This geolocation service doesn’t require the creation of an account.

Additional Features of This Cookie Plugin

Place the Cookie Notice in Multiple Positions

A selector available in the plugin options allows you to generate a cookie notice in the following position:

  • Top of the screen
  • In the middle of the screen
  • Bottom of the screen

Shake Effect

Bring attention to the cookie notice with an optional shake effect applied to the cookie notice. The shake effect is activated when the user clicks outside the cookie notice.

Mask

This cookie plugin optionally generates a transparent mask over the content of the page. This mask makes the website unusable for the users that don’t give their consent.

Responsive

The cookie notice generated by the plugin is fully responsive. We have also included the Responsive Breakpoint option to define when to switch from the desktop layout to the mobile layout and vice versa.

Additional information with a modal window

The plugin comes with an optional modal window that you can use to display the cookies policy, the privacy policy, or other custom information without redirecting the user to a specific page.

You can enter custom HTML in this modal window and easily include information like lists of cookies, lists of vendors, links to documents, and more.

Test Mode

Enable the Test Mode to display the cookie notice only to the website administrator. This feature allows you to set up the cookie notice content, colors, and behavior without causing temporary issues to a production website.

Custom Cookie Expiration

Set the amount of time you want to store the cookie acceptance of the user.

Reload Page

This option allows you to optionally reload the page when the user accept the cookies.

Pro Version

With the Professional Version of this cookie plugin, you can:

  • Download the consent log data in CSV format
  • Download the proof of consent of each consent log record in PDF format
  • Instantly run JavaScript scripts based on the cookie preferences of the user
  • Share the user consent preferences on subdomains
  • Configure Google Consent Mode
  • Display one or more cookie audit tables in your posts with the “Cookies” editor block
  • Allow visitors to reset their cookie preferences with the “Delete Cookies” editor block
  • Allow visitors to change their cookie preferences with the “Revisit Consent” editor block
  • Move the plugin data between websites with the import and export features
  • Define which user capabilities are required to access each plugin menu

Disclaimer

This product can include GeoLite2 data created by MaxMind, available from https://www.maxmind.com.

Screenshots

  • Explore the consent log data collected by the plugin.
  • Manage the cookie sections from a dedicated menu.
  • Configure the cookie sections.
  • Manage the cookie categories from a dedicated menu.
  • Define the cookie categories to group cookies into related areas.
  • Manage the cookies from a dedicated menu.
  • Register the cookies used on the website and define attributes like name, expiration, purpose, and more.
  • Export the plugin data as XML files.
  • Perform bulk operations such as a complete plugin reset, deleting plugin statistics, and more.
  • Enter a custom cookie notice message and configure the content and behavior of the buttons.
  • Configure the content and behavior of the cookie settings modal window.
  • Allow users to change their cookie preferences by enabling a revisit consent button.
  • Configure the general style of the cookie notice.
  • Select the colors used by the elements displayed in the cookie notice.
  • Configure the colors used in the cookie settings modal window.
  • Configure the position and colors of the revisit consent button.
  • Use the geolocation options to display the cookie notice only in a custom selection of countries.
  • Geolocate your visitors using the Geolite2 Country and Geolite2 City databases provided by MaxMind.
  • Configure advanced plugin settings that affect the behavior of the cookie notice.
  • Configure the fonts used in the cookie notice layout. You can optionally load your favorite Google Fonts.
  • Set up the content and responsive behavior of the cookie notice, and more.
  • Visitors can accept the cookies or proceed to the cookie configuration.
  • Visitors can configure their cookie preferences from the cookie settings modal window.
  • A modal window used to display the cookies policy to the visitors.
  • Visitors can read the list of cookies included in each cookie category.
  • Visitors can read the list of cookie vendors.
  • Display a cookie notice positioned at the center of the screen.
  • A cookie notice positioned at the top of the screen.
  • A simple cookie notice with only the “Accept” button.
  • A cookie notice with the dismiss button.
  • Create a mask to prevent interaction on the website when the cookie notice is active.
  • Apply advanced style customization like a translucent cookie notice background color.
  • Configure custom colors for any element included in the cookie notice.
  • Create a unique cookie notice that supports the brand style guidelines.

Installation

Installation (Single Site)

With this procedure you will be able to install the Lightweight Cookie Notice plugin on your WordPress website:

  1. Visit the Plugins -> Add New menu
  2. Click on the Upload Plugin button and select the zip file you just downloaded
  3. Click on Install Now
  4. Click on Activate Plugin

Installation (Multisite)

This plugin supports both a Network Activation (the plugin will be activated on all the sites of your WordPress Network) and a Single Site Activation in a WordPress Network environment (your plugin will be activated on a single site of the network).

With this procedure you will be able to perform a Network Activation:

  1. Visit the Plugins -> Add New menu
  2. Click on the Upload Plugin button and select the zip file you just downloaded
  3. Click on Install Now
  4. Click on Network Activate

With this procedure you will be able to perform a Single Site Activation in a WordPress Network environment:

  1. Visit the specific site of the WordPress Network where you want to install the plugin
  2. Visit the Plugins menu
  3. Click on the Activate button (just below the name of the plugin)

Reviews

Nuwamba 30, 2022
Since a while I was facing caching issues in combination with wp-optimize caused by my other cookie notice plugin on all my websites which couldn’t be fixed although I tried a lot of things. I am so glad that I switched now to Lightweight Cookie Notice which has not only solved the issue. It is also very clean and truely lightweight and has a lot of customizing options. Thank you so much for creating and updating this plugin.
Mayu 7, 2021
This plugin working fine. It’s fully customizable. You can modify almost ewerything. But missing “Custom CSS”. You have to add custom CSS to yours stylesheet, but its nothing bad.
Read all 1 review

Contributors & Developers

“Lightweight Cookie Notice – Cookie Banner for Cookie Consent” is open source software. The following people have contributed to this plugin.

Contributors

“Lightweight Cookie Notice – Cookie Banner for Cookie Consent” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Lightweight Cookie Notice – Cookie Banner for Cookie Consent” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.15

September 16, 2024

  • Bug fix: The “Button 2 Background Color” option of the “Cookie Settings” section has been added again in the plugin.

1.14

September 3, 2024

  • Performance improvements.
  • A new option to configure the maximum number of displayed consent log records has been added.

1.13

August 12, 2024

  • Action link added in plugins menu.

1.12

August 11, 2024

  • Major back-end UI update.
  • The following menus and the related functionalities have been added: Consent Log, Sections, Categories, and Cookies.
  • Additional options have been added to the plugin settings.

1.11

June 14, 2024

  • The text domain has been changed to match the plugin slug.
  • Removed non-necessary validation methods used in the plugin options.

1.10

April 8, 2024

  • Fixed a bug (started with WordPress version 6.5) that prevented the creation of the plugin database tables and the initialization of the plugin database options during the plugin activation.

1.09

Oct 22, 2023

  • Fixed a bug that caused a JavaScript error when the cookie notice mask was disabled.
  • Minor refactoring to remove PHP deprecation warning.

1.08

May 25, 2023

  • The cross SVG icon is now generated with JavaScript.
  • Changed UglifyJS file compression options applied to production JavaScript files.
  • Minor back-end improvements.

1.07

November 25, 2022

  • The ability to generate a “Revisit Consent” button has been added.

1.06

March 3, 2022

  • Improved tooltip messages in the plugin options.

1.05

March 26, 2021

  • Minor back-end improvements.

1.04

March 26, 2021

  • Fixing error in readme.txt

1.03

March 26, 2021

  • Initial release.