-
Notifications
You must be signed in to change notification settings - Fork 1
Shortcodes
sem schilder edited this page Nov 15, 2016
·
4 revisions
There are currently 2 shortcodes available.
[accept_button]
creates a big green accept button.
[readmore]...[/readmore]
create a 'hidden' read more section. If you want to provide optional/additional content into the page.
To see this example working on your site, create or edit your cookie page. And paste this in the "text" editor.
We are required by law to ask for your permission and to inform you about the use of cookies on our website.
Site name uses cookies for:
<ul>
<li>Optimizing</li>
<li>Getting user statistics</li>
<li>The use, administration and targeting of adverts</li>
<li>Intergration with social media.</li>
</ul>
We need to record your......
[accept_button]
[readmore]
This text is hidden by default but could contain some information about:
<ul>
<li>What cookies are </li>
<li>How they work</li>
<li>First party cookies</li>
<ul>
<li>Information about first party cookies</li>
<li>A clear list of functional first party cookies</li>
<li>A clear list of non-functional first party cookies</li>
</ul>
<li>Third party cookies</li>
<ul>
<li>Information about third party cookies</li>
<li>A clear list of third party cookies</li>
</ul>
<li>Other kinds of storage.</li>
<li>Usages of cookies.</li>
<li>How to block cookies.</li>
<li>How to delete cookies.</li>
<li>Information about questions and complaints.</li>
</ul>
When you are done with this bigger section, it would be quite long. You don't want a user to scroll up again to accept, so you can safely use the <code>[accept_button]</code> shortcode multiple times on the page and even within the <code>[readmore]..[/readmore]</code> tags.
[accept_button]
[/readmore]
© 2016 - Tropical Juice and Sem Schilder