Loading...

bS5 Cookie Consent

This plugin adds a simple cookie consent banner to the bottom of the page. Live preview

It is not clear whether this plugin complies with the EU ePrivacy regulation of 2020 or not. If you live in the EU and are therefore not sure, you can use plugins like GDPR Cookie Consent from Web Toffee.

Installation

  1. Download Plugin
  2. In your admin panel, go to Plugins > and click the Add New button.
  3. Click Upload Plugin and Choose File, then select the Plugin’s .zip file.
  4. Click Install Now.
  5. Click Activate to use your new Plugin right away.

The “More information” links to to the default WordPress privacy policy. Set the privacy page from “Draft” to “Published”.

Text and link targets can be translated in the theme.

The cookie is set for 12 days by default. After 12 days the banner is displayed again.

Override template via theme

Template file can be found within the /bs5-cookie-consent/templates/ plugin directory.

Edit file in an upgrade-safe way using overrides. Copy the template into a directory within your theme named /bs5-cookie-consent keeping the same file structure but removing the /templates/ subdirectory. Path must be /your-theme/bs5-cookie-consent/cookie-consent.php.

The copied file will now override the bS5 Cookie Consent default template file. Change classes or HTML as you want.

Leave a Comment

Cookies help us deliver our services. By using our services, you agree to our use of cookies. More Information