Delaying the Cookie Banner

Get compliant today in the European Union, United States, Canada, United Kingdom, Australia, Brazil & South Africa with the only Privacy Suite for WordPress that offers a fully-featured plugin for Worldwide Compliance.

You might want to add a delay before the Cookie Banner is displayed on your website. This can be done by adding the below filter as an MU Plugin.

For detailed instructions on the installation of MU Plugins, please see: Adding filters with MU Plugins. Quick & Easy

Configuration

  • Copy the above code to a text editor
  • Change the amount in milliseconds to delay the banner with on line 11 in the code. By default, the delay is set to 3000 milliseconds (3 seconds).
  • Save this as a .php file in the folder /wp-content/mu-plugins/ on your website

Recent articles

Integration with Woodmart Google Maps

An integration with the WoodMart theme is available as an MU Plugin on GitHub: https://github.com/Really-Simple-Plugins/complianz-integrations/blob/master/woodmart-custom-google-maps.php

Read More »
The Privacy Suite for WordPress
Get compliant today with the only Privacy Suite made for WordPress

Categories

Popular articles

Join our mailing list - 8 Tips & Tricks in your inbox over the next 8 weeks!