Lightweight Cookie Notice – Cookie Banner for Cookie Consent
最近更新 2025年06月25日
资源编号 100259

Lightweight Cookie Notice – Cookie Banner for Cookie Consent

售后服务丨一次搭建,终身售后!7*24小时,全天候技术支持!
购买建站套餐:送国际域名、服务器、SSL证书、PAYPAL等国际流行支付!:
79
VIP折扣
    折扣详情
  • 基础套餐

    79.00 元10折

  • 高级套餐

    79.00 元10折

  • 企业套餐

    79.00 元10折

  • 集团套餐

    79.00 元10折

购买建站套餐,不懂技术,不懂美工,也可以搭建优质外贸独立站!
购买主题 查看演示 建站套餐
详情介绍

Lightweight Cookie Notice is a lightweight and customizable cookie plugin for WordPress.

The main features of Lightweight Cookie Notice:

  • Written in pure JavaScript with a single 9kb file (gzipped) that handles the DOM, the style, and the events
  • Support for the WordPress Transients API for zero impact in terms of PHP performance
  • An outstanding number of 112 customization options
  • Support for all the most common caching plugins
  • Geolocation with two of the best IP geolocation services
  • Support for multiple cookie categories
  • Cookies catalogs

Pure JavaScript

Lightweight Cookie Notice works with a single small file (9kb gzipped) written in pure JavaScript and loaded in the page footer.

No additional files are added to the page. DOM elements, CSS styles, and events listeners are all generated with the only JavaScript file executed by the plugin.

By replacing your current cookie plugin with Lightweight Cookie Notice, you reduce the number of HTTP requests, which is incredibly beneficial for your SEO.

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.

Extremely Customizable

This plugin includes 112 customization options that you can use to control aspects like:

  • The style and content of the cookie notice
  • The style and content of the cookie settings modal window
  • The geolocation services and the targeted countries
  • The capabilities required to access the plugin menus
  • Technical functionalities of the plugin

Support for caching plugins

Lightweight Cookie Notice supports the most common caching plugins:

  • WP Super Cache
  • W3 Total Cache
  • LiteSpeed Cache
  • SG Optimizer
  • WP Fastest Cache

Additional details on the configuration changes required to support Lightweight Cookie Notice are available in the Caching Plugins section of the plugin manual.

Your visitors will be able to activate or deactivate specific categories of cookies with toggles displayed in the cookie settings modal window.

Display cookies

With the included Gutenberg block (or with a shortcode), you can display lists of cookies in your posts or the cookie settings modal windows.

The following fields are available for each cookie:

A convenient button to delete the preference of the user is provided. You can include this button in your cookie policy to give the users the ability to delete their cookie preferences.

Transients are supported

This plugin does not perform queries to the WordPress database because the cookie notice data are cached with the WordPress transient API.

Custom Expiration Period

You can set the expiration of the cookie preferences set by the user based on your needs.

  • Name
  • Expiration
  • Purpose
  • Provider
  • Domain
  • Type
  • Sensitivity
  • Security

Test Mode

Create the perfect cookie notice without actually displaying it on your live website. With this mode enabled, only the website administrator will see and interact with the cookie notice.

Gutenberg Ready

WordPress has changed, and the TinyMCE editor has been replaced with the new Gutenberg editor. This plugin comes with two dynamics Gutenberg blocks, one to display lists of cookies and one to show a delete cookie preferences button.

Import and Export

The import and export feature available in Lightweight Cookie Notice allows you to archive the plugin data as XML files, so you can quickly move a perfectly configured cookie notice between websites.

Updates

02.05.2025 - v1.48
  - Bug fix applied to PluginUpdateChecker class, updated to version 1.0.11.
  - Fixed PHP notice caused by early use of translation functions
  - Fixed JavaScript deprecation notices for back-end functionality
  - Refined default cookie notice text strings
  - Improved styling and structure of editor blocks
16.01.2025 - v1.47
  - The following options have been added to the plugin settings: "Toggle On Color", "Toggle Off Color", "Toggle Mixed Color", "Toggle Disabled Color".
  - The “Acceptance Rate” value is now calculated using a limited number of consent log records to prevent performance issues and memory exhaustion.
04.01.2025 - v1.46
  - Fixed JavaScript deprecation notices for back-end functionality
01.12.2024 - v1.45
  - The functionalities used to apply seamless updates have been refactored
  - Resolved CSS style issues introduced by changes in WordPress 6.7
  - The load_plugin_textdomain() function now runs with the correct hook
  - geoip2/geoip2 library updated to 3.1.0
06.11.2024 - v1.44
  - Added support for seamless updates delivered directly from our server
16.09.2024 - v1.43
  - Bug fix
03.09.2024 - v1.42
  - Bug fix
  - Performance improvements
16.08.2024 - v1.40
  - Bug fix
  - Minor improvements
07.08.2024 - v1.39
  - Major back-end UI update
  - Added support for Google Consent Mode
10.01.2024 - v1.34
  - A third cookie notice button has been added.
  - The "Reject All Cookies" action has been added to all the buttons.
  - Front-end CSS Improvements.
  - New geolocation options have been added.
30.11.2023 - v1.26
  - The "Accept All Cookies" button action has been added
  - Fixed PHP deprecation messages triggered with PHP > 8.0 versions
03.05.2023 - v1.25
  - The SVG icons are now generated with JavaScript
  - Minor bug fix
10.02.2023 - v1.22
  - The "Accept Cookies Script" option has been added
  - Bug Fix
19.12.2022 - v1.21
  - The plugin can now be translated with translation plugins
26.11.2022 - v1.20
  - The ability to generate a "Revisit Consent" button has been added
14.01.2022 - v1.19
  - The "Delete cookies" button now reloads the current page and deletes not only the cookie used by the plugin, but also the cookies defined in the "Cookies" menu.
  - Minor improvements

Yearly Plans

You can alternatively purchase yearly plans for 1, 5, or 25 websites. For more information, please see the Lightweight Cookie Notice Pricing Section on our portal.

Credits

This plugin makes use of the following resources:

  • Select2 licensed under the MIT License
  • Composer licensed under the MIT License
  • JShrink licensed under the BSD 3 Clause License
  • GeoIP2 PHP API licensed under the Apache License 2.0
  • MaxMind DB Reader PHP API licensed under the Apache License 2.0
  • Common Code for MaxMind Web Service Clients licensed under the Apache License 2.0

Disclaimer

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

打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)
常见问题

相关独立站主题

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务