Complianz Privacy Suite

Customizing the Cookie Policy templates

Rogier Lankhorst

Rogier Lankhorst

Categories

Popular articles

AMP Integrated with Complianz

From 4.1 onwards, we have integrated with AMP for WordPress. The integration is with the following free AMP plugin https://nl.wordpress.org/plugins/amp/. Another plugin called AMP for

Read More
Share on facebook
Facebook
Share on twitter
Twitter
Share on linkedin
LinkedIn

Templating in the Cookie Policy

The Cookie Policy consists of some legal paragraphs, which are generated based on your input in the Wizard, and of the list of Cookies. You can use this list separately from the Cookie Policy by using the shortcode.

But you can also change the html structure of the cookies list to fully customize the output of the cookies description!

To do this, follow these steps:

  1. Using FTP, look up the “templates” folder in wp-content/plugins/complianz-gdpr, or wp-content/plugins/complianz-gdpr-premium if you are a premium user.
  2. Copy the files
    cookiepolicy_cookies_row.php
    cookiepolicy_purpose_row.php
    cookiepolicy_services_row.php
  3. In your theme, create a folder with the same name as the Complianz plugin: “complianz-gdpr(-premium), and copy the files here.
  4. Adjust the files to your liking. You can change all html, and move the {placeholders}. You can even remove the placeholders if you want, just remember that this will also remove that data from your Cookie Policy.
    For example, you will see in cookiepolicy_cookies_row.php the following html:

     

    <tr>
        <td>{name}</td>
        <td>{retention}</td>
        <td>{cookieFunction}</td>
    </tr>

    This is one row from the Cookie Policy, with a cookie name, retention period, and function of the cookie (e.g. storage of consent preferences). 

Related articles

Leave a Reply

Your email address will not be published.

Subscribe