Linux 软件免费装
Banner图

Can I Use Cookies ?

开发者 fcaylus
更新时间 2021年3月13日 23:41
PHP版本: 7.0 及以上
WordPress版本: 5.7
版权: GPLv3 or later
版权网址: 版权信息

标签

cookie cookies popup gdpr ccpa consent

下载

1.0.0 1.0.1

详情介绍:

Does one thing but does it right: Ask the user for his consent about cookies and tracking. Features How it works ? The plugin will add a new menu under your settings, where you can set up the various texts and images used by the popup. Then, a popup will appear on every public pages, asking the user for his consent about cookies and tracking, presenting him with 2 choices: It's then up to you, and your analytics solution, to check for the cookie-consent value and handle it according to the user's wishes. How to customize the popup style ? A default style is applied to the popup, with the strict minimum (the layout of the popup). The popup will inherit the text style, button style and colors from your theme. However, you can use CSS to customize the popup layout and style (by enqueuing a stylesheet in your functions.php file, add additional CSS in your theme's options, or whatever technique to add CSS to your page). For reference, here is the popup HTML code. You can use the main container id (#can-i-use-cookies) to scope your CSS rules. ` ... ... ... ... ` Source code The source code is available on GitHub at github.com/doky-fr/can-i-use-cookies. Feel free to contribute !

屏幕截图:

  • Settings menu
  • Desktop popup with Twenty-Twenty theme
  • Mobile popup with Twenty-Twenty theme
  • Desktop popup with Twenty-Nineteen theme
  • Mobile popup with Twenty-Nineteen theme
  • Desktop popup with custom styling, text and logo
  • Mobile popup with custom styling, text and logo

更新日志:

1.0.1 1.0.0