Hi Maren,
You can simply create a button or a hyperlink using the following command: Cookiebot.renew()
For example: <a href="void(0)" onclick='javascript:Cookiebot.renew()'>Renew your consent</a>
-
This reply was modified 6 years, 3 months ago by
Richard.
-
This reply was modified 6 years, 3 months ago by
Richard.
Hi,
Again:
I USE your PLUGIN!
If i use a plugin i usually dont have to add any codesnippets in my headers.
So how do i generate the renew-link if i use your plugin?
Maren
Hi Maren,
As with any button or link, a plugin can’t create those for you. Afterall how would it know where to place them on your page? Our plugin only inserts the script, with your settings into the header of each page.
You’ll need to create a link as you normally do, only now it will issue a command instead of following a link. If this is an insurmountable task, then I’m afraid you won’t be able to create the link you want.
Other Cookie solutions does have it integrated.
For example the cookie section of the Theme “Enfold”
Or even the quite simple “Cookie Consent”-Plugin.
So why doesnt your plugin have that simple to provide solution?
Your solution is not even technically correct – so i gave a rating
https://wordpress.org/support/topic/poor-support-documentation/