aruberto
Forum Replies Created
-
I’ve added the code for the reject button as follows but it doesn’t show the reject button on the cookie bar. I appreciate the help on this.
ADDED NOTE: Appears to be only on the home page and the cookie policy page that the reject button doesn’t appear, its on the other pages. I’ve tried clearing browser history but this hasn’t made any difference.<div class="cli-bar-container cli-style-v2"><div class="cli-bar-message">We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent. </br>[cookie_link] </div><div class="cli-bar-btn_container">[cookie_settings margin="0px 5px 0px 0px"] [cookie_reject] [cookie_accept_all]</div></div>- This reply was modified 4 years, 5 months ago by Steven Stern (sterndata).
- This reply was modified 4 years, 5 months ago by aruberto.
If that’s the case then,irrespective of if a reject button exists or not, if they disable some of the cookies in the cookie settings but not all would the user consent state still be “consent accepted” or something else?
Just checking, when it says “Consent accepted.” is that only tracking the acceptance of necessary cookies for the site such as the GDPR cookie or all the cookies which are not necessary? If it’s only the necessary cookies, that can’t be changed with the current plugin.
- This reply was modified 4 years, 5 months ago by aruberto.
It didn’t work, while it accepted the code it’s the same problem as before – the user consent state doesn’t reflect the new settings.
Great thanks.
Thank you. I found the file and made the update but got the following error “Your PHP code changes were rolled back due to an error on line 2336 of file wp-content/themes/panoramic/functions.php. Please fix and try saving again.
syntax error, unexpected ‘<‘, expecting end of file”
2336 is the first line where I inserted the code you provided “<?php”.
Hi @webtoffee – Happy New Year.
Thanks for the code, unfortunately, It’s not clear exactly where I find the function.php file/where the code should be inserted. Can you advise?