Skip to content

Simple WordPress plugin to show visitors a cookie-consent block

Notifications You must be signed in to change notification settings

erikjoling/ejo-cookie-consent

Repository files navigation

Ejo Cookie Consent

How it works

Customize

To edit the text (and button text) go to WordPress > Settings > Cookie Consent.

Here you can delete the cookie as well if you want.

Disable plugin stylesheet

add_filter( 'ejo_cookie_consent_disable_style', '__return_true' )

Issues

PHP Cookie vs Javascript Cookie?

Most of the plugin works in javascript for managing the cookie. Gotta remove the PHP cookie stuff.

Debug mode should be an option in the settings

Right now it's hooked to SCRIPT_DEBUG constant. When developing with that turned on it is a bugger... Note: Recently added the possibility to filter this using ejo_cookie_consent_debug_mode.

About

Simple WordPress plugin to show visitors a cookie-consent block

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published