Cookie Law Bar icon
Analytics & Tracking

Cookie Law Bar

Cookie Law Bar show bottom or top bar to inform users that your website uses cookie according to EU law.

Developer richplugins
48 Mixedmaintenance
  • 10 yearson WordPress.org
  • 6plugins
  • 113,370+installs in total
  • 4.9★avg. rating (2,009)
  • 33%of plugins updated this year
6/14 badges Profile →

Not recommended for new sites

Better alternatives to Cookie Law Bar

  • Problem: Not maintained Last updated 9 years ago (version 1.2.1).
  • Problem: Not tested with recent WordPress Tested up to WordPress 4.7; the current release is 7.1.
  • Note: Few reviews so far 4 ratings on WordPress.org.
  • Pass: Widely used Active on 1,000+ sites.

For a new site, or if you are planning a rebuild, choose a plugin that is still maintained. Unmaintained plugins stop getting security fixes and tend to break as WordPress and PHP move on.

Cookie Bar icon

Best match

Cookie Bar

Updated 4 months ago, tested with WordPress 7.0, rated 4.9/5 by 23 users, used on 10,000+ sites.

Setup guide →
Compare Cookie Law Barthis plugin Cookie Bar GDPR tools: Cookie notice + privacy WF Cookie Consent
Last updated 9 years ago4 months ago4 weeks ago5 months ago
Tested up to WordPress 4.7WordPress 7.0WordPress 7.1WordPress 7.0
Active installs 1,000+10,000+5,000+10,000+
Rating 4.5 / 5 (4)4.9 / 5 (23)5.0 / 5 (6)5.0 / 5 (27)
PHP code size 12 KB in 2 PHP files–17 KB in 4 PHP files–
Hooks for developers 2––1

Switching from Cookie Law Bar?

  1. Try the replacement on a staging copy of your site first.
  2. Note your current settings, shortcodes and widgets. They won't carry over automatically.
  3. Activate the new plugin, recreate the setup, then deactivate and delete the old one.

Need your settings or data moved over? We can migrate it for you.

Find other outdated plugins on your site with the free plugin checker →

Alternatives are matched on features and ranked by maintenance, WordPress compatibility, ratings and adoption, using WordPress.org data.

Overview

Cookie Law Bar describes itself as: “Cookie Law Bar show bottom or top bar to inform users that your website uses cookie according to EU law.”

It is active on 1,000+ WordPress sites and rated 4.5 out of 5 by 4 users on WordPress.org. Developers can extend it through 0 actions and 2 filters, listed below.

We haven't published a hands-on review of Cookie Law Bar yet. Want one, or need help with it? Send us a request.

How to install Cookie Law Bar

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “Cookie Law Bar” and pick the one by richplugins.
  3. Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI

Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:

wp plugin install cookie-law-bar --activate

Requirements: WordPress 2.8+ · tested up to WordPress 4.7.40

Hooks & customisation

Cookie Law Bar 1.2.1 fires 0 actions and 2 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.

cookie-law-bar — top hooks
// Filter in cookie-law-bar.php
apply_filters( 'attribute_escape', $safe_text, $text );

// Filter in cookie-law-bar.php
apply_filters( 'esc_html', $safe_text, $text );

Browse all 2 hooks with examples →

Cookie Law Bar: frequently asked questions

Is Cookie Law Bar free?

Yes. Cookie Law Bar is free to download from the official WordPress.org plugin directory and is licensed under the GPL, so you can use it on as many sites as you like. Some developers sell a separate Pro version or paid add-ons; check the developer's website for details.

Is Cookie Law Bar safe to use?

Cookie Law Bar has not been updated for 9 years. Plugins without updates stop receiving security fixes, so we recommend a maintained alternative for new sites. As with any plugin, keep it updated and only install it from WordPress.org or the developer.

Does Cookie Law Bar work with WordPress 7.1?

It isn't confirmed. Cookie Law Bar was last tested with WordPress 4.7, 24 releases behind the current 7.1, so test it on a staging site before relying on it. It requires WordPress 2.8 or later.

How many websites use Cookie Law Bar?

Cookie Law Bar is active on 1,000+ WordPress sites, according to WordPress.org. It is currently at version 1.2.1, last updated on November 28, 2017.

What are the best alternatives to Cookie Law Bar?

Plugins that do a similar job and are actively maintained include Cookie Bar (10,000+ installs), GDPR tools: Cookie notice + privacy (5,000+ installs), WF Cookie Consent (10,000+ installs). See the side-by-side comparison.

Can I customise Cookie Law Bar without editing its code?

Yes. Cookie Law Bar 1.2.1 fires 0 actions and 2 filters that you can use from a child theme or a code snippets plugin, so your changes survive plugin updates. Browse all 2 hooks with examples.

Done for you

Let us deal with Cookie Law Bar for you

Move to a maintained plugin without losing your settings, or keep this one and have it brought up to date.

Update an abandoned plugin

from $249

Keep the plugin your site depends on, made safe for current WordPress and PHP.

  • Compatibility with current WordPress and PHP
  • Security review and fixes
  • Deprecated code replaced
  • You keep a maintained copy

Typical turnaround: 5–10 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Need Cookie Law Bar customised?

Tell us what you want changed, added or fixed and we'll reply with an estimate.

WP EXPERTS is independent and not affiliated with richplugins. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 19, 2026.

More plugins by richplugins

All 6 →

Google Reviews plugin for WordPress. Set up in a minute. No API keys or sign-in. Free, GDPR, review updates, multiple…

100,000+ installs Updated 5 days ago 4 hooks
Not updated in 1+ year

Yelp reviews widget and shortcode! Shows Yelp business reviews on your WordPress website to increase user trust and SEO.

2,000+ installs Updated 1 year ago
Not updated in 8+ years

Live chat with your website users using Facebook Messenger.

300+ installs Updated 8 years ago 2 hooks

Alternatives in Analytics & Tracking

See all →

Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful…

5+ million installs Updated 4 days ago 91 hooks
Reviewed

The best free Google Analytics plugin for WordPress. See how visitors find and use your website so you can grow…

2+ million installs Updated 2 months ago 186 hooks
Reviewed
CookieYes icon

CookieYes

3,238

Google-certified CMP: cookie banner, cookie notice and cookie consent for GDPR/CCPA compliance, with cookie blocker, cookie scanner and consent log.

1+ million installs Updated 1 week ago 82 hooks

Publish your cookie banner or notice in minutes. Automatically scan cookies, and create policies to align with GDPR, CCPA, and…

1+ million installs Updated 2 weeks ago 184 hooks