[Support request] Cookie banner

Home Forums Support [Support request] Cookie banner

Home Forums Support Cookie banner

  • This topic has 3 replies, 2 voices, and was last updated 2 years ago by David.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #925731

    I was wondering if it would be possible that you integrate a cookie banner as premium feature because it is more and more nessary to havbe it (EU, GDPR and California cookie law).
    I really like cookie consent from osano but I dont want a external script and unfortunately I struggle to integrate it by myself.
    So, a premium module with a cookie banner integration would be great 🙂

    Customer Support

    Hi there,

    the difficulty with cookie notices is the laws vary from country to country and are at risk of changing which means we would need to continue monitor these changes and make updates.

    There are plenty of plugins on the WP repository to do this. If you would like to use Osano’s script then its quite simple.

    In Osano – after you create your setup copy the code it generates.
    Then in Appearance > GeneratePress make sure you have the Elements module activated.
    Then in Appearance > Elements add New Hook.
    Paste your code into the content.
    Select the WP_Head hook from the Hook List.
    Go to the Display Rules Tab and set Location to: Entire Site
    Publish and that should be it.


    thank you for the quick reply.
    I understand the diffuclty with these cookie laws.

    I understand to add the code but I struggle to intergrate the javascript from them into my own site. I want to host everything from my site and not fromy any external source.

    Customer Support

    So to do that you would need to install a Child Theme, within your child theme folder create a JS Folder and save their JS file in their.

    Then this line for example:
    <script src="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.js"></script>

    You would change the URL to point to your JS folder.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.