Ilmenite Cookie Consent

Description

There are many WordPress plugins out there which does a lot of fancy things with the cookie consent. We didn’t find one we really liked that was really lightweight and developer friendly and so we created our own.

It isn’t meant for the masses who want tons of configurable options in the admin (although it will work fine out of the box). For the developer who wants the functionality and being able to convenietly override the styles in the theme without bloat—here’s a plugin for you.

See the installation section for more information on how to install. The FAQ section has important information on how to customize the plugin.

Translations

Included in the package are translations for the following languages:

  • Danish (Thanks Magnus)
  • German (Thanks Frank)
  • Hungarian (Thanks Miklos)
  • Italian (Thanks Matteo)
  • Lithuanian
  • Norwegian (Thanks Kristofer)
  • Slovak (Thanks Peter)
  • Spanish (Thanks Vigdis & Ibertrix)
  • Swedish

A complete .pot file is available in the translations/ directory. If you use and translate this little plugin, please send us the translation so it can be included!

Even better is if you use Translate.WordPress.org for your translations. That way, they will be automatically distributed with the WordPress updater.
However, in some locales, the work with the Translate site is not up to speed. We will continue to support included translations a while longer.

Screenshots

  • The default design of the cookie consent box on the website.

Installation

We recommend using the built-in plugin installer in WordPress. If you wish to install the plugin manually:

  1. Upload ilmenite-cookie-consent to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Insert a link to your cookie policy in the ‘Settings > Reading’ page.

FAQ

Installation Instructions

We recommend using the built-in plugin installer in WordPress. If you wish to install the plugin manually:

  1. Upload ilmenite-cookie-consent to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Insert a link to your cookie policy in the ‘Settings > Reading’ page.
How do I set the cookie policy link?

A settings field is appended to the Settings > Reading screen where you can insert a link to the privacy and cookie policy page.

Can I disable the default stylesheet?

Out of the box, the plugin includes a lightweight stylesheet. We suggest you implement it in your theme however. To prevent this plugin from loading its own stylesheet, just set the following constant in your wp-config file:

// Don't load 'Ilmenite Cookie Consent' stylesheets
define( 'ILCC_DEV_MODE', true );

Note: The constant needs to be defined before the plugin runs.

Can I change the text?

Yes of course. To change the main text in the banner, there is a filter available ‘ilcc_consent_text’.
To modify the accept button, the filter ‘ilcc_accept_text’ is also available.

Reviews

Smooth

This is the way we want plugins to work. Easy, no bloat and really light. Thanks Erik!

Works PERFECT

I did re-theme their css just a bit to cater to my colors… but no biggie, took 5 minutes. This is the best one I came across of the 4 I tried. THANKS!

Read all 4 reviews

Contributors & Developers

“Ilmenite Cookie Consent” is open source software. The following people have contributed to this plugin.

Contributors

“Ilmenite Cookie Consent” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Ilmenite Cookie Consent” into your language.

Interested in development?

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

Changelog

Version 1.1.4

Added Danish translation. (Thanks Magnus!)

Version 1.1.3

Added an Hungarian translation. (Thanks Miklos)

Version 1.1.2

Updated a string in the Spanish translation (thanks ibertrix)

Version 1.1.1

We managed to change a string we shouldn’t have changed in Version 1.1.0. Sorry about that!

Version 1.1.0

It’s time we switch this plugin over to above 1.0 releases.
– Changed the textdomain to conform with the plugin name = text domain. This means we will have full support for the WordPress.org Plugin translations.
– Added Italian translation (Thanks Matteo)

Version 0.2.9

  • Improved German translation (Thanks Frank!)
  • Added Lithuanian translation
  • Minor Code Tweaks & Improvements (just behind the scenes—Thanks Johan)

Version 0.2.8

  • Added Spanish translation (Thanks Vigdis!)
  • Fixed a bug where the cookie banner height would be outputted in the JS console.

Version 0.2.7

  • Added Slovak language support (Thanks Peter!)

Version 0.2.6

  • Added Norwegian (Bokmål) translation (Thanks Kristofer!)
  • Updated German translation with missing string
  • Fixes dev mode constant
  • Remove the GitHub Updater. Plugin will be added to the WordPress respository.

= Version 0.2.5**
– Performance Increase: Don’t load scripts and styles if the cookie has already been set.

Version 0.2.4

  • Fixed a miss in the new CSS

Version 0.2.3

  • Fixed a bug where the settings wouldn’t save due to an incorrectly specified settings area. (Thanks to jnylin https://github.com/jnylin)
  • Added mobile friendly default styles

Version 0.2.2

  • Fixed a bug where the localization function wasn’t properly loaded.
  • Fixed a bug where some textdomains were not properly specified.

Version 0.2.1

  • Fixed a bug where the language files weren’t properly loaded.

Version 0.2.0

  • Added GitHub updater
  • Added settings field for policy URL
  • Minify script and style
  • Added German translation

Version 0.1.0

  • First plugin version.