WordPress Plugin Repository

Caching Compatible Cookie Opt-In and JavaScript

Donations

If you like our plugin and want to support the maintenance, please use the "Donate" button on my personal website 🙏

matthias wagner

How to ...

... use the revoke button?

You can place a shortcode called [ccco-revoke] in any page or widget you like. This will tell the visitor about the cookie-decision made and provide a button to revoke the decision.

... place inline scripts and html?

You can place a shortcode called [ccco-inline]<script>...</script>[/ccco-inline] in any page or widget you like. Everything inside this shortcode will be placed dynamically if allowed by the cookie-decision. The following parameters are available:

Example 🙂

[ccco-inline permission="optin" type="button" buttontext="Show Video" fallbackurl="<https://www.youtube.com/watch?v=abc>" fallbacktext="Open in YouTube"]<iframe src="<https://www.youtube-nocookie.com/embed/abc>"></iframe>[/ccco-inline]

Action & Filter Hooks

We provide some hooks in our code, so you can easily build your own solutions on top of our plugins.