该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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个区块.

  • 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 日 1 回复
This plugin works just perfectly. Very much recommended. Great support too!
2019 年 9 月 5 日 1 回复
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 日 1 回复
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.