Title: Reset_cookie short code
Last modified: July 22, 2018

---

# Reset_cookie short code

 *  [lievore](https://wordpress.org/support/users/lievore/)
 * (@lievore)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/reset_cookie-short-code/)
 * I entered the shortcode [ginger_reset_cookie class=”” text=”REVOCA CONSENSO” 
   redirect_url=”[https://lufrailidisupra.it/”%5D](https://lufrailidisupra.it/”%5D)
   but nothing happens at all. The visitor continues to browse the site as before
   and the banner does not appear to request consent.
    Cookies are not deleted. 
   Can anyone tell me why? Thanks.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Freset_cookie-short-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Grete](https://wordpress.org/support/users/cactusone/)
 * (@cactusone)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/reset_cookie-short-code/#post-10866052)
 * Hi,
    Go to FTP and in the file reset-cookie.js ginger/front/js/reset-cookie.js
   add this right after the function delete_cookie(name, url) { :
 * `document.cookie = "ginger-cookie=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path
   =/;";`
 * (don’t delete anything, just add the string)
 * Oh and remember: the change will be deleted with the new update, but hey – maybe
   we won’t have to make the change with the new update 😉

Viewing 1 replies (of 1 total)

The topic ‘Reset_cookie short code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ginger_ff6033.svg)
 * [Ginger - EU Cookie Law](https://wordpress.org/plugins/ginger/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ginger/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ginger/)
 * [Active Topics](https://wordpress.org/support/plugin/ginger/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ginger/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ginger/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Grete](https://wordpress.org/support/users/cactusone/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/reset_cookie-short-code/#post-10866052)
 * Status: not resolved