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

Simple Cookie Control

外掛說明

Cookie control and customizable cookie message to comply with the EU cookie law GDPR regulations with following features:

  • Cookie banner configurable from the WordPress customizer: position, styles, colors and content.
  • Show or not a secondary banner after the primary one is hidden: which allow users see again the main banner to change their previous decision.
  • Activate or not the implementation of basic internal Analytics to know the number of acceptances and rejections.
  • Change the name and days to expiry of the cookie that keeps track of users choice.
  • Activate the implementation of Google Tag Manager (Google Analytics): conditional on the acceptance of cookies.

Also with this plugin you can show/hide conditional content depending on the acceptance of cookies with:

  • A specific block of Gutenberg: you can show/hide conditional content depending on the acceptance of cookies.
  • Some shortocodes described in the “Advanced control” inside the WordPress Customizer. Example: [SCC_ALLOW] your content [/SCC_ALLOW]
  • Some extra advanced options to try force automatically the blocking of some scripts, and with it the control of cookies.

Both with the gutenberg block and with the shortcodes this plugin allows you to show or hide content, as well as allow partial acceptance and rejection of cookies for each content. It also allows the user to change his mind at all times.

EXAMPLE of what you can do with this plugin based on an idea from UniversoSM
* Imagine that your visitor rejects cookies in the main banner. Which is quite possible.
* So where there should be a YouTube video you can only show a static image.
* Now the visitor can see a button next to the image that inform and allows to accept only the cookies to watch the video.
* If the visitor makes partial consent the page will show the iframe with the video replacing the image.
* In the same way it can be displayed a button next to the video to allow the visitor to reject that specific consent.

Feedback and support

I would be happy to receive your feedback to improve this plugin.
Please let me know through support forums if you like it and please be sure to leave a review..

Also you can contact me on my personal page Pablo Cianes or even visit Github of Simple Cookie Control where you can find all the development code of this plugin.

I hope it is useful for you and look forward to reading your reviews! 😉 Thanks!

螢幕擷圖

  • Cookie banner configurable from the WordPress customizer.
  • Show or not a secondary banner after the primary one is hidden.
  • Activate or not the implementation of basic internal Analytics and Google Tag Manager.
  • With Gutenberg you can show/hide conditional content depending on the acceptance of cookies.

適用於區塊編輯器

這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。

  • Hide/Show blocks by Cookies

安裝方式

  1. Upload simple-cookie-control.php to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to customizer to your own custom setup.
  4. Search into post the block Hide/Show blocks by Cookies into SumaPress category.

常見問題集

What can I do with this plugin?

Show a simple banner to inform users that your site uses cookies and blocks them until the visitor accepts.
Also you can show/hide conditional content depending on the acceptance of your own cookies.

How do I setup this plugin?

First Go to customizer and search Simple Cookie Control to set all setup.
Keep in mind that there are no more options pages outside of the customizer.
Second, you have a Gutenberg block to show/hide conditional content depending on the acceptance of cookies.
Also possible using shortcodes if you prefer.

使用者評論

2019 年 12 月 19 日
This plugin works just perfectly. Very much recommended. Great support too!
2019 年 9 月 5 日
Plugin works as advised and brings you extra features to better manage cookies Is a good option if your project requires a more advanced way to manage cookies than the automated options offered in WordPress
2019 年 4 月 23 日
I wrapped the content in the shortcodes and it works fine. For now 4 stars til i know to set attributes and see if the automatically blocking of scripts work. I love this simple and fast plugin.
閱讀全部 5 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Simple Cookie Control〉的開發相關工作。

參與者

將〈Simple Cookie Control〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0.3

  • Delete bug notice about undefined index

1.0.2

  • Compatible with WP5.0

1.0.1

  • Do not hide the acceptance button even when they are cookies already accepted to avoid being rejected after pressing the secondary banner.

1.0.0

  • First publicly available version.