Based on the JavaScript version by Emilio Cobos . This plugin shows a notice to your users warning them about the use of cookies in your site. It prevents (some) code to store cookies before user consent. It also shows a link to your (mandatory) privacy/cookie policy page.
Te puedes descargar este plugin para utilizarlo en tu instalación autoalojada de WordPress.