Search
Close this search box.

Documentation

In this article

Categories

Recent articles

Using shortcodes in the wizard for global content

Are you using shortcodes on your website to display global content, for example, telephone numbers, email addresses, names, etcetera?

Here is how you can use them with Complianz. Especially handy for multisite environments where shortcodes can manage global content.

Although shortcodes are interpreted, there are two things we need to take care of in the wizard; validation of email with a shortcode and adding scripts with shortcodes.

We suggest using an MU plugin to add filters.

Preparing for email validation

Scripts output from shortcode

e.g, when you use [analytics client=”name”] it should be interpreted as UA-123456789-1 instead of [analytics client=”name”]

Join 900.000 users and install The Privacy Suite for WordPress locally, automated or fully customized, and access our awesome support if you need any help!

Complianz has received its Google CMP Certification to conform to requirements for publishers using Google advertising products.