Consent Concept
The Consent concept provides a customizable box for your visitors, allowing them to accept or, if permitted, reject your policies. At the same time, is helping you to construct an action to do following the response.
How it works
For activate the consent box, go to your admin
(yourdomain.com/admin/wp-admin/admin.php?page=site-settings)
and click onModules
tab, you'll see theConsent
module that you can active. When you active, you'll have a new tab on this page namedConsent Box
for your settings.You can style this box using
SCSS
in the file located atsrc > front > scss > site > _consent.scss
.You can manage the HTML of the box in
src > front > template > index.php
.Update the
action()
method insrc > front > js > addons > Consent.js
for manage what you do when a user accept or reject the box.
Last updated