This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

JM WP Cookie Bar


It is now mandatory to display a warning message to your visitors to let them know you are tracking some data e.g with Google Analytics. This plugin allows you to customize the message, make it show as top bar and set an expiration time for cookie.

Disclaimer : you should abide by the law there could be some additional requirements in your country. This plugin is a generic tool. Please make sure all details are ok.

Follow me on Twitter

A version with opt out is available on github : click here to download 2.0


  • Admin page in Admin tool menu
  • Basic look in front end


  1. Upload plugin files to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress
  3. Go to Tool > Cookie Bar in admin panel to set your cookie bar !


How to style it?

There are already some basic style but you can override them. Just use the following css classes : .cookie-message, .cookie-message a, .cookie-message p, .wpcb-close-btn for the button but you can even change the button class (option), and .cookie-rules for the link to your cookies rules page.

You can even deactivate basic style and style it entirely in your main stylesheet.


There are no reviews for this plugin.

Contributors & Developers

“JM WP Cookie Bar” adalah perisian sumber terbuka. Orang-orang berikut telah menyumbang kepada pemalam ini.




  • 05 May 2015
  • Code refactor


  • 30 Nov 2014
  • Fix stupid fatal on activation due to wrong method call in init class


  • 22 Nov 2014
  • better init
  • No more code duplication


  • 18 Oct 2014
  • fix responive and z-index


  • 21 Sep 2014
  • change wp_footer hook for appropriate hook wp_enqueue_script and use wp_localize_script() to pass vars on js
  • Better performance with scripts in footer


  • 31 Aug 2014
  • Fix translation and make cookie bar design “unstyled”


  • 29 Aug 2014
  • Initial commit