Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 521 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 521 Bytes

WPU Tarte Au Citron

Simple WordPress plugin to implement https://github.com/AmauriC/tarteaucitron.js.

This plugin is NOT AFFILIATED WITH Tarteaucitron.js.

How to

Create a Button to accept a service

<button data-wputarteaucitron-allow-service="pardot" type="button">Allow cookies from Pardot</button>

Show/hide a block based on a service

/* Hide this block if pardot is accepted */
[data-wputarteaucitron-service-pardot="1"] .my-block {
    display: none;
}