The GDPR Cookie Consent(CCPA) plugin makes a website comply with the GDPR & CCPA law for the usage of cookies on a website. To add cookie settings link to the footer of your website:
- Navigate to GDPR Cookie Consent> Settings, after installing and activating the plugin via Plugin Setup.
- Go to Customise Buttons > Settings Button and copy the shortcode : [cookie_settings].
- From Appearance > Widgets, drag and drop the Text widget to the required Footer Column.
- Add the shortcode : [cookie_settings] and click on Save.
- Reload the website to view the cookie settings link on the footer.
Here is an alternative way to add cookie settings to footer, by using the class "
cli_settings_button"
.
Sample code:
<a class="cli_settings_button" href="#">Cookie settings</a>
Know more about the plugin.
Junjian Zhang
December 16, 2022
How to or can I change/customize the design (html element) of the Cookie Setting Popup? Thanks for your answer
Mark
December 20, 2022
Hi @ Junjian,
Greetings from Webtoffee!
You can follow this article from our documentation to learn how to customise cookie settings pop-up using CSS.
Matus Kunik
February 13, 2022
Hi, is possible to add the “Accept necessary” cookies only button with accepting only the necessary cookies, instead of Accep All..? What is the diffence betwen Accept All [cookie_accept_all] and Accept [cookie_button] ..?? Thanks for your answer.
Mark
February 16, 2022
Hi Matus,
[cookie_button] saves the default/current state of all categories. ie if a category is set in the disabled state by default and the user clicks the [cookie_button] button, the disabled state is saved.
Whereas the [cookie_accept_all] button enables all categories, regardless of their current or default state.