Cookie Notice for GDPR & CCPA的作者是dFactory,目前有1+ 百万个有效安装。已经Tested with 5.4.1版本的wordpress。

Cookie Notice allows you to elegantly inform users that your site uses cookies and helps you comply with the EU GDPR cookie law and CCPA regulations.

For more information, check out plugin page at dFactory or plugin support forum.

Customizable message
Redirects users to specified page for more information
Multiple cookie expiry options
Link to Privacy Policy page
WordPress Privacy Policy page synchronization
Option to accept the notice on scroll
Option to set on scroll offset
Option to accept the notice with any page click
Option to refuse the consent
Option to revoke the consent
Option to manually block scripts
Option to reload the page after accepting the notice
Select the position of the notice container
Select the position of the privacy policy link
Animate the container after notice is accepted
Select from 3 buttons style
Set the text and bar background colors
WPML and Polylang compatible
SEO friendly
.pot file for translations included

If you’d like to code a functionality depending on the cookie notice value use the function below:

if ( function_exists('cn_cookies_accepted') && cn_cookies_accepted() ) {
// Your third-party non functional code here


Feel free to contribute to the source code on the dFactory GitHub Repository.