Documentation/GDPR Cookie Consent/Hide the Cookie Bar on Selected Pages Using GDPR Cookie Consent Plugin

Hide the Cookie Bar on Selected Pages Using GDPR Cookie Consent Plugin

The following code snippet allows you to hide the cookie bar on selected pages of the website or any wildcard URL entry. Simply add the code snippet to the active child theme function.php and enter the slug of the pages in the array() function on which you want to the hide the cookie bar.

  • Was this article helpful ?
  • YesNo