There is a lot of mystery and fuss surrounding the new EU cookie legislation, but it’s essentially really simple. Cookies are files used to track site activity and most websites use them. Site owners need to make the use of cookies very obvious to visitors.

Cookie bar makes it simple and clear to visitors that cookies are in use and tells them how to adjust browser settings if they are concerned.

cookieBAR is a drop-in and forget, pure vanilla javascript plugin, with no jQuery nor any other dependency needed. It shows up when needed and stay silent when not: if a website has a cookie or some localStorage data set then the bar is shown, otherwhise nothing happens.

Once user clicks Allow Cookies cookieBAR will set a cookie for that domain with a name cookiebar that will expire in 30 days. What this means is that the plugin will only show up once month (this duration is configurable).

If a user decides to click Disallow Cookies, cookieBAR will simply remove all cookies and localStorage data (and will show up again the first time a cookie is detected).

cookieBAR is currently translated in:

  • Catalan
  • Danish
  • Dutch
  • English
  • French
  • German
  • Hungarian
  • Italian
  • Spanish
  • Portuguese
  • Romanian


  • The cookieBAR
  • Details panel


  1. Upload cookiebar-wp.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Use the configuration panel to set your desired configurations


Which languages are supported?

cookieBAR is currently translated in:

  • Catalan
  • Danish
  • Dutch
  • English
  • French
  • German
  • Hungarian
  • Italian
  • Spanish
  • Portuguese
  • Romanian
I don’t like the standard black bar, how can I change its appearance?

You can go to Appearance - cookieBAR and pick another theme.

How do I configure cookieBAR’s behavior?

You can go to Appearance - cookieBAR and have a look to the configuration options.

Contributors & Developers

“cookieBAR” is open source software. The following people have contributed to this plugin.


Translate “cookieBAR” into your language.

Interested in development?

Browse the code or subscribe to the development log by RSS.



  • Added Danish translation
  • New: Added Alternative Black theme
  • Bugfix: Fixed Romanian translation


  • Switched from to


  • Added Romanian translation


  • New: Added “Accept cookies by scrolling window” option.
  • Bugfix: “Always show cookie bar” option was not correctly working.
  • Bugfix: Minified CSS files where present, but not in use.
  • Misc: The startup process code was a bit messy, I did my best to clean it a bit, it should be easier to review and edit, if needed.


  • New: All links in the cookiebar’s language files are now set with rel=”nofollow”
  • New: Fix for body margins


  • Added Portuguese translation


  • Added Catalan and Spanish translation


  • Added the Dutch translation


  • Switched back from telize to freegeoip.


  • Improved the French translation


  • Removed the ‘http’ prefix for telize api


  • Switched to Telize for ip geolocation


  • New: Added minified CSS and JS
  • Bugfix: cookieLawStates should include GB not UK
  • Bugfix: When hiding the cookieBar, margins are not correctly reset


  • New: Added Hungarian translation
  • New: Add support for German
  • Bugfix: Fix prompt for no consent
  • Bugfix: Minor fixes and improvements


  • New: Geolocation – show the bar only in countries affected by the cookie law
  • New: Specify which kind of cookies are in use (technical, third party, tracking cookies)
  • New: The link to the complete privacy page should be in the main banner
  • Bugfix: cookieBAR’s cookie is now set at domain level


  • Some new configuration options: always show and remember choice duration


  • Added themes functionality and two more bundled themes


  • Fixed a css bug that made the bar unreadable in some websites, some minor fixes


  • Fixed a bug with Internet Explorer and custom privacy page


  • Set your own privacy page, or use the default popup


  • First working version