The Privacy Suite for WordPress

Wrapping content in consent shortcodes

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.

We have made numerous integrations with popular services and plugins to control consent automatically and add placeholders when necessary. In some cases, you might want to use shortcodes instead to wrap your content. There are a few things to consider;
  • Caching the consent area is not possible.
  • The shortcodes come with a placeholder text. You can use CSS to design the placeholder to your needs. Below you will find examples.
  • You will need to manually add these wrappers in HTML.
  • A page reload is necessary to trigger the content in your consent area.
If you need an integration with a service or plugin, please log a support ticket. If the plugin is actively supported and has a decent following, we will integrate if needed, or write an article on how to use the script center for this purpose.

The shortcode

Below you will find the shortcode wrapper. The first opening shortcode should be wrapped in brackets [shortcode], the closing shortcode should be wrapped in [/shortcode]

An example with styling

Hello! Please revoke your cookie settings to see a placeholder

Used CSS for this placeholder

You can download, and customize the cookie flaticon here.

Recent articles

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


Popular articles

LGPD Brazil and WordPress

The “Marco Civil” and the Brazilian General Data Protection Law (LGPD) In Complianz 5.4 we will add full support for the Civil Rights Framework for

Read More

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