Skip to content

cristianp6/cookie-notice

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
  • Allow users to chose if they want to disable third-party non functional cookies
  • Set cookie expiry
  • 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 }

Translations:

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

About

Cookie Notice

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 80.7%
  • CSS 11.5%
  • JavaScript 7.8%