Lightweight Cookie Notice Free

Documentation of the Lightweight Cookie Notice Free plugin for WordPress

Table of Contents

  1. Installation (Single Site)
  2. Installation (Multisite)
  3. Options Menu
  4. Geolocation
  5. Credits
  6. FAQ

1) Installation (Single Site)

With this procedure, you will be able to install the Lightweight Cookie Notice Free 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

2) 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 (the 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

3) Options Menu

The Options menu includes 96 options that you can use to customize aspects like:

  • The style and content of the cookie notice
  • The style and content of the cookie settings modal window
  • The geolocation feature
  • The capabilities required to access the plugin menu
  • Technical functionalities of the plugin

For more information about a single option, hover the mouse over the question mark on the right side of the option. The plugin will display a tooltip with additional information.

4) Geolocation

With this plugin, you can display the cookie notice only to visitors located in specific countries. The position of the visitor is retrieved with the HostIP.info service or with the MaxMind GeoLite2 database.

Please note that:

  • The results provided by these two geolocation services are not 100% accurate.
  • You have to follow the terms of service of these services.

Geolocation with HostIP.info

To enable the geolocation with HostIP.info please proceed as follows:

  1. Set the Options -> Geolocation -> Geolocation option to “Enabled”.
  2. Set the Options -> Geolocation -> Geolocation Service to “HostIP.info”.
  3. Select the countries where the plugin should display the cookie notice with the Options -> Geolocation -> Geolocation Locale option
  4. Save your changes

Geolocation with MaxMind GeoLite2 

Lightweight Cookie Notice supports the GeoLite2 IP geolocation database provided by MaxMind.

You can manually download the database and move it to the location specified with the Options -> Geolocation -> MaxMind Database File Path option or enter your license key in the Options -> Geolocation -> MaxMind License Key

When you provide a valid license, the plugin automatically downloads the database (from the MaxMind website) every week with WP Cron.

To enable the geolocation with MaxMind GeoLite2, please proceed as follows:

  1. Set the Options -> Geolocation -> Geolocation option to “Enabled”.
  2. Set the Options -> Geolocation -> Geolocation Service to “MaxMind GeoLite2”.
  3. Select the countries where the plugin should display the cookie notice with the Options -> Geolocation -> Geolocation Locale option.
  4. Enter your MaxMind License Key in the MaxMind License Key field. To download the license key, log in to the MaxMind website and generate a license key in the Manager License Key tab.
  5. Enter the path where you want to store the database in the MaxMind Database File Path option.

5) Credits

This plugin makes use of the following resources:

Disclaimer

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

6) FAQ

Can I include HTML tags in the textarea fields available in the back-end?

Yes, the following HTML tags are supported:

  • p
  • a
  • strong
  • br
  • ol
  • ul
  • li

Which versions of PHP are supported?

 PHP 7.2.0 and later versions are supported.

Which versions of WordPress are supported?

 WordPress 5.0 and later versions are supported.