Linux 软件免费装
Banner图

EU Cookie Law

开发者 Milmor
alexmoss
pleer
ShaneJones
更新时间 2023年1月19日 21:18
PHP版本: 4.4 及以上
WordPress版本: 4.9
版权: GPLv2 or later
版权网址: 版权信息

标签

cookie cookies law privacy analytics italia eu cookie law european consent eu cookie garante italy europe

下载

2.0.4 2.8.5 1.0 1.1 1.2 2.0.2 2.0.3 2.0.5 2.1 2.1.1 2.1.2 2.13 2.5.2 2.5.9 2.6.3 2.7.3 2.8 3.0.1 3.0.4

详情介绍:

EU Cookie Law is a light, elegant and powerful solution that allows your website to comply the european cookie law by informing users that your site has cookies, with a popup for more information and option to lock scripts before acceptance (as required by Italian Law - Garante della Privacy dispositions). You can customise the style to perfectly fit your website and you have many options to control cookies behaviour after and before acceptance. https://www.youtube.com/watch?v=6f2qxC3GZJ8 Demo: www.sanpellegrinoterme.gov.it Features Advanced Features Cookie block You can lock cookies using [cookie] and [/cookie] shortcodes in every post, page and widget. You can use php functions too: if ( !function_exists('cookie_accepted') || cookie_accepted() ) { // Your code } More Shortcodes & PHP Functions are available in our faqs.
EU Cookie Law started from Peadig in 2012 and in june 2015 has became part of WPGov.it that aims to give Italian Public Government powerful open source solutions for websites.
Translations You can add your translations here: translate.wordpress.org If you want to be translation editor for your locale, please send your username and language code (eg. it_IT) to milesimarco@outlook.com. @tabakisp (el) Thanks to: Gerard Weijer, Karsten Höfner, Mariusz Kołacz, Marco Milesi, Núria Nadal Contributions

安装:

This section describes how to install the plugin and get it working.
  1. Upload eu-cookie-law directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Go to the EU Cookie settings page
  4. Go through the steps and hit update!

屏幕截图:

  • Autoblock feature (no consent) - [www.comune.carassai.ap.it](http://www.comune.carassai.ap.it)
  • Autoblock feature (no consent) - [www.sanpellegrinoterme.gov.it](http://www.sanpellegrinoterme.gov.it)
  • Autoblock feature (cookies accepted) - [www.sanpellegrinoterme.gov.it](http://www.sanpellegrinoterme.gov.it)
  • Banner example
  • Autoblock feature (iframe, embed, Google Maps, Disqus,...)
  • `[cookie-control]` shortcode
  • Options screen
  • Fully customizable

常见问题:

Shortcodes available

You can block code in posts, pages and widget by wrapping it with these shortcode: [cookie] ... [/cookie] Parameters: [cookie height="100px" width="100%" text="Hi <b>WordPress</b>"] //My code [/cookie] To display the button to revoke consent (if cookies accepted) or accept cookies: [cookie-control] You can also revoke consent by adding ?nocookie=1 parameter to your url. Ex. wordpress.org/?nocookie=1 or wordpress.org/something/?nocookie=1 To display a list of active cookies on user client: [cookie-list]

PHP Functions available

You can check the consent with: if ( function_exists('cookie_accepted') && cookie_accepted() ) { // Your code } If you want to display the cookie-block message: `generate_cookie_notice($height, $width); generate_cookie_notice_text($height, $width, $text); if ( function_exists('cookie_accepted') && cookie_accepted() ) { // Your code } else { generate_cookie_notice($height, $width); }` Please note that cookie_accepted returns true if you disable it in the settings panel, if you excluded the current page or if you are a search engine :) If you think that we should enhance something let us know in the forum.

Javascript Filters

Sometimes it could be useful to trigger custom actions on cookie consent, so we added useful filters. If you want to play, just download our sample plugin and start coding!

Auto block

The plugin offers an exclusive function that allows you to block iframes, embeds, objects and scripts in posts, pages and widgets. This can be activated in the plugin options panel because is disabled by default. To exclude a page from the filter set a custom post field eucookielaw_exclude to 1. Just enable "Custom Fields" in "Screen Options" and in the "Custom Fields" box type the name, the value, and hit "Add Custom Field". If you want to exclude a script, you can type between <script> and </script> the string eucookielaw_exclude. Ex. add class="eucookielaw_exclude" or a comment.

Cache

We are working to improve cache compatibility. As for now, conflicts may occur. WP Super Cache (sperimental*): open the file wp-content/advanced-cache.php and add the following immediately after <?php opening: if ( !isset( $_COOKIE['euCookie'] ) ){ return; } So that you have: `<?php if ( !isset( $_COOKIE['euCookie'] ) ){ return; } function wpcache_broken_message() {`

WPML

This plugin is officially certified for WPML. You can translate every string with WPML's String Translation module. WPML’s String Translation module is part of the Multilingual CMS package. To enable it, you first need to download and install it from your WPML.org account > Downloads section. Then, go to WPML->String Translation and use the display filter, at the top of the String Translation page, to determine which strings to display. Click on the translations link to open the translation editor and adjust the strings as you want. Be sure to click on "translation is complete"" after you translate. Incomplete translations will not appear in the site.

更新日志:

3.0.2 09.06.2018 3.0.1 26.05.2018 3.0 24.05.2018 - First GDPR release Hello! This is our first GDPR release and hope you'll like it. Some functions have changed, so report bugs in our support forum to discuss them. Also, if you don't use technical cookies only, we suggest to turn AutoBlock function ON. 2.13 24.04.2018 2.12 23.04.2018 2.11 24.11.2017 2.10 05.01.2017 2.9.4 18.12.2016 2.9.3 06.07.2016 2.9.2 03.04.2016 2.9.1 31.01.2016 2.9 30.01.2016 2.8.5 31.12.2015 2.8.4 16.11.2015 2.8.2 11.11.2015 2.8.1 27.10.2015 2.8 17.10.2015 2.7.3 15.10.2015 2.7.2 01.10.2015 2.7.1 28.09.2015 2.7 25.09.2015 2.6.3 26.08.2015 2.6.2 21.08.2015 2.6.1 19.08.2015 2.6 14.08.2015 2.5.9 05.08.2015 2.5.8 02.08.2015 2.5.7 02.08.2015 2.5.6 20.07.2015 2.5.5 19.07.2015 2.5.4 17.07.2015 2.5.3 15.07.2015 2.5.2 05.07.2015 2.5.1 03.07.2015 2.5 24.06.2015 2.4.2 11.06.2015 2.4.1 10.06.2015 2.4 09.06.2015 2.3.1 08.06.2015 2.3 08.06.2015 2.2.2 08.06.2015 2.2.1 08.06.2015 2.2 05.06.2015 2.1.1 + 2.1.2 04.06.2015 2.1 03.06.2015 2.0.3 + 2.0.4 + 2.0.5 - 03.06.2015 2.0 + 2.0.1 + 2.0.2 - 02.06.2015 1.2 1.1