Cookie Notice by dFactory

Description

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

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

Features include:

  • Customize the cookie message
  • Redirect users to specified page for more cookie information
  • Set cookie expiry
  • Link to more info page
  • Option to accept cookies on scroll
  • Option to set on scroll offset
  • Option to refuse functional cookies
  • Option to reload the page after cookies are accepted
  • Select the position of the cookie message box
  • Animate the message box after cookie is accepted
  • Select bottons style from None, WordPress and Bootstrap
  • Set the text and bar background colors
  • WPML and Polylang compatible
  • SEO friendly
  • .pot file for translations included

Usage:

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
}

Get involved

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

Screenshots

  • screenshot-1.png

Installation

  1. Install Cookie Notice either via the WordPress.org plugin directory, or by uploading the files to your server
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to the Cookie Notice settings and set your options.

FAQ

No questions yet.

Installation Instructions
  1. Install Cookie Notice either via the WordPress.org plugin directory, or by uploading the files to your server
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to the Cookie Notice settings and set your options.

Reviews

Excellent plugin that actually works

Excellent job. Worked first time, no talking back to a remote server for authorisation that I can see and even looks good on screen.
Good set of options as well so beats the competition hands down!

Literally plug and play

In a world of so-called “plug and play” apps and plugins, which take aaaaages to understand and install, this wonderfully intuitive Cookie Notice plugin from dFactory is refreshingly simple. You don’t have to do anything, it does it all for you.
🙂 Thanks dFactory.

Magnifique

Magnifique, j’adore. La possibilité d’enlever le message via le scrolling est juste extraordinaire. Merci pour cette extension.

Like a charm

Works very well. Setup is straight forward and documentation explains the rest.
Good job!

Read all 241 reviews

Contributors & Developers

“Cookie Notice by dFactory” is open source software. The following people have contributed to this plugin.

Contributors

“Cookie Notice by dFactory” has been translated into 15 locales. Thank you to the translators for their contributions.

Translate “Cookie Notice by dFactory” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.2.39

  • New: Option to reload the page after cookies are accepted

1.2.38

  • Tweak: Move frontend cookie js functions before the document ready call, thanks to fgreinus
  • Tweak: Adjust functional javascript code handling
  • Fix: Chhromium infinity expiration date not valid
  • Fix: Remove deprecated screen_icon() function

1.2.37

  • Tweak: Add aria landmark role=”banner”
  • Tweak: Extend cn_cookie_notice_args with button class

1.2.36.1

  • Fix: Repository upload issue with 1.2.36

1.2.36

  • Fix: String translation support for WMPL 3.2+
  • Fix: Global var possible conflict with other plugins
  • Tweak: Add $options array to “cn_cookie_notice_output” filter, thanks to chesio.
  • Tweak: Removed local translation files in favor of WP repository translations.

1.2.35

  • Tweak: Use html_entity_decode on non-functional code block
  • Tweak: get_pages() function placement optimization
  • Tweak: Filterable manage cookie notice capability

1.2.34

  • Fix: Empty href in links HTML validation issue

1.2.33

  • New: Greek translation thanks to Elias Stefanidis

1.2.32

  • Fix: Accept cookie button hidden on acceptance instead of the cookie message container

1.2.31

  • New: Non functional Javascript code field
  • Fix: Minified Javascript caching issue

1.2.30

  • Fix: jQuery error after accepting cookies

1.2.29

  • Tweak: Add class to body element when displayed
  • Tweak: Italian translation update

1.2.28

  • New: Option to set on scroll offset

1.2.27

  • Tweak: Correctly remove scroll event, limit possible conflicts
  • Tweak: Italian translation update

1.2.26

  • Fix: Accept cookies on scroll option working unchecked.
  • Fix: call_user_func() warning on lower version of WP

1.2.25

1.2.24

  • New: Option to refuse to accept cookies
  • New: setCookieNotice custom jQuery event
  • Tweak: Italian translation updated, thanks to Luca Speranza

1.2.23

1.2.22

  • Tweak: Swedish translation updated, thx to Ove Kaufeldt

1.2.21

1.2.20

  • New: Option to select scripts placement, header or footer

1.2.19

  • New: Danish translation, thanks to Lui Wallentin Gottler

1.2.18.1

  • Fix: Quick fix for 1.2.18 print_r in code

1.2.18

  • New: More info link target option
  • Tweak: Additional HTML ids, for more flexible customization

1.2.17

1.2.16

  • Tweak: Dutch translation missing due to a typo

1.2.15

  • New: Danish translation, thanks to Hans C. Jorgensen
  • Fix: Notice bar not visible if no animation selected

1.2.14

  • New: Hungarian translation, thanks to Surbma

1.2.13

1.2.12

  • New: Slovenian translation, thanks to Thomas Cuk

1.2.11

1.2.10

  • New: Italian translation, thanks to Luca
  • Tweak: Confirmed WP 4.0 compatibility

1.2.9.1

  • Tweak: Enable HTML in cookie message text
  • New: Option to donate this plugin 🙂

1.2.8

1.2.7

  • New: French translation, thanks to Laura Orsal
  • New: Deleting plugin settings on deactivation as an option

1.2.6

  • New: German translation, thanks to Alex Ernst

1.2.5

  • New: Spanish translation, thanks to Fernando Blasco

1.2.4

  • New: Added filter hooks to customize where and how display the cookie notice

1.2.3

  • New: Portuguese translation, thanks to Luis Maia

1.2.2

  • Fix: Read more linking to default site language in WPML & Polylang

1.2.1

  • Tweak: UI improvements for WP 3.8

1.2.0

  • Fix: Cookie not saving in IE
  • Fix: Notice hidden under Admin bar bug
  • Tweak: Improved WPML & Polylang compatibility

1.1.0

  • New: Rewritten cookie setting method to pure JS
  • Fix: Compatibility with WP Super Cache and other caching plugins

1.0.2

  • New: Dutch translation, thanks to Heleen van den Bos

1.0.1

  • Tweak: Changed setting cookie mode from AJAX to JS driven

1.0.0

Initial release