這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Cartograf Cookie filter

描述

This plugin allows site builders to comply with the spanish cookie law, that regulates the use of tracking cookies in websites according to the EU directive.

Note that this is important as one of the first countries to introduce this regulation after the EU directive was emitted was UK. But the UK law has some differences with the spanish regarding “informed consent” of the visitor, thus cookies needs to be treated a bit differently.

Despite of that, the plugin provide the functionality needed to comply with UK (and other) cookie law, as well.

This plugin allows the user to insert code (typically, javascript code) in both header and footer and for two different cases (cookie accepted, cookie not accepted). It also provides HTML id and classes that enable easy customization.

The development and manteniance of this plugin is sponsored by Cartograf

Contributors

  • Jose Alcántara
  • Dima Kam
  • Sergio Folgar

About Cartograf

The development of this plugin has been funded by Cartograf, a consultancy company specialized in free software based in Madrid.

安裝

You may install this plugin following the next steps:

  1. Download the ZIP file.
  2. Unzip the file and upload the newly created folder with its contents to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Go to the settings page for this plugin and configure all that you need: message to be shown, scripts to be inserted on cookie acceptance (typically, your Google Analytics code, or similar, goes here) in header OR footer, cookie acceptance criteria (timeout, scrollout) and a list of pages or posts containing extra information about cookies and thus to be treated as an exception.

常見問題

Is this plugin suited for building sites according to the spanish cookie law?

Yes, it is.

How can I customize the cookie bar?

The plugin provides both html ID and classes to help themers. We plan to allow easy color config in next versions.

How does this message behaves along with cache plugins?

If you are using a cache plugin, you are encouraged to flush/rebuild your cache whenever you change your welcome message.

評價

2016年9月3日
Para que funcionara bien en mi Wordpress con un template comprado he tenido que editar el archivo script.js en la función setCookie añadiéndole en document.cookie el path=/, me queda así: document.cookie = c_name + "=" + c_value+"; path=/";
閱讀全部5個評價

貢獻者及開發者

“Cartograf Cookie filter” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Cartograf Cookie filter 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.1.0

  • Cookie checking is now implemented client-side, to make the plugin compatible with cache plugins. Thanks to Sergio Folgar (/sfolgar) for this contribution.

1.0.7

  • Added info about compatibility with cache plugins
  • Updated tip texts on settings page.

1.0.6

  • Improved tip texts on settings page.
  • We now explicitly support UK cookie law (the functionality was always there, just that we didn’t mention).

1.0

  • First stable release.
  • Included settings page.
  • Included slug exceptions.
  • Both timeout and scrollout acceptance of the cookies are now considered.

0.5

  • Now saving options as WP options.

0.1

  • Initial commit.