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

Implied Cookie Consent

描述

This plugin displays an unobtrusive information bar at the top of the page informing the user about the site’s use of cookies. This approach follows an implied consent model. It doesn’t explicitly ask the user for consent before placing cookies, it merely informs them about the use of cookies. When the user navigates to a second page or clicks on the dismiss button, the bar is hidden. This approach is similar to that used on many government websites including gov.uk.

The plugin has settings in the admin which allows the colour and content of the information bar to be customised.

An example cookie information page will be created on installation of the plugin. It is up to you to correctly populate the text on that page.

Why another cookie plugin?

There are many WordPress cookie plugins available but none of them seemed to do what I wanted. They typically tend to provide a very intrusive experience for the user (e.g. via modal popups), or are too complex to configure.

Technical Details

This plugin uses jQuery (JavaScript) to show and hide the information bar. A cookie is stored via the jQuery Cookie Plugin (included with this plugin) to track that the message has been displayed and does not need to be shown on each subsequent page view.

螢幕截圖

  • The information bar in the page header.
  • Admin settings.

安裝

  1. Install this plugin in the usual way in ‘wp-content/plugins’.
  2. Customise the info bar message and colour via the settings page.
  3. Customise the cookie information page.

常見問題

Can I do additional styling of the cookie info bar in CSS?

Yes, you can get a handle via the ‘icc_message’ CSS ID:

#icc_message {
    color: green;
}

Does this plugin analyse the cookies my site uses?

No. A cookies page with example information is created on installation of the plugin, but it is up to you to determine which cookies are used on your site and ensure the content on the page is appropriate.

Do I have to use the cookies page the plugin creates?

No, absolutely not. Create your own page wherever you like and update the cookie info bar message in the settings to link to the correct page.

Does installing this plugin guarantee compliance with the EU Cookie Law?

No. The plugin author can’t provide any guarantee that installing this plugin will make your site compliant with the EU Cookie Law. You should verify that the consent model used here is appropriate for your site.

評價

2021年2月1日
This has dropped out of the WP plugin repository because it hasn't been 'updated' for over two years. That's a pity! How about making a minor change and re-submitting it?
2019年9月27日
After going through a truckload of complicated apps I finally found this little jewel. I set it up in about 60 seconds with a practical frontend banner that does the job perfectly.
閱讀全部6個評價

貢獻者及開發者

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

貢獻者

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

對開發相關資訊感興趣?

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

修改日誌

1.3

  • Add colour picker for the message text colour.
  • Add a field for the string to be displayed in the dismiss link.

1.2

  • Fixes to handle the fixed position header in the TwentyFourteen theme.
  • Strips slashes from the message when displayed in the page.
  • Updates to documentation.

1.1

  • Improve support for i18n.
  • Add POT file.

1.0

  • First version of this plugin.
  • Updates to readme.txt.