Cookie Notice
Switch branches/tags
Nothing to show
Clone or download
bartoszarendt Merge pull request #35 from garymarkfuller/patch-1
Style issue with v1.44 and media query for mobile
Latest commit eef0863 Jun 20, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css Style issue with v1.44 and media query for mobile Jun 19, 2018
images Initial commit Apr 8, 2015
includes Update to 1.2.37 Dec 22, 2016
js move frontend cookie js functions before the document ready call to a… Jan 28, 2017
languages Update to 1.2.37 Dec 22, 2016
cookie-notice.php Update to 1.2.37 Dec 22, 2016
index.php Initial commit Apr 8, 2015
readme.md Update to 1.2.35 May 16, 2016
readme.txt Update to 1.2.37 Dec 22, 2016

readme.md

Cookie Notice by dFactory

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

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
  • 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
  • .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.

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.

Changelog

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.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