Title: droverload's Replies | WordPress.org

---

# droverload

  [  ](https://wordpress.org/support/users/droverload/)

 *   [Profile](https://wordpress.org/support/users/droverload/)
 *   [Topics Started](https://wordpress.org/support/users/droverload/topics/)
 *   [Replies Created](https://wordpress.org/support/users/droverload/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/droverload/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/droverload/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/droverload/engagements/)
 *   [Favorites](https://wordpress.org/support/users/droverload/favorites/)

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Super Cache] WP-Supercache files being ignored in favour of wp-cache files](https://wordpress.org/support/topic/wp-supercache-files-being-ignored-in-favour-of-wp-cache-files/)
 *  Thread Starter [droverload](https://wordpress.org/support/users/droverload/)
 * (@droverload)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/wp-supercache-files-being-ignored-in-favour-of-wp-cache-files/#post-18339977)
 * OK, Donncha, thanks a lot for your help. I eventually got rid of the consent 
   plugin and use JavaScript and storing the consent record in localStorage rather
   than using a cookie. Now I’m back to WP-Supercache working.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Super Cache] WP-Supercache files being ignored in favour of wp-cache files](https://wordpress.org/support/topic/wp-supercache-files-being-ignored-in-favour-of-wp-cache-files/)
 *  Thread Starter [droverload](https://wordpress.org/support/users/droverload/)
 * (@droverload)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/wp-supercache-files-being-ignored-in-favour-of-wp-cache-files/#post-18335574)
 * I think I’m misunderstanding something fundamental in how the plugin works then.
 * What I want is to serve visitors (the ones who aren’t logged in) the WP-Supercached
   version of the site once they’ve accepted the cookie notice. Are you saying that
   once cookies are being used, WP_Supercache can’t do anything?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Super Cache] WP-Supercache files being ignored in favour of wp-cache files](https://wordpress.org/support/topic/wp-supercache-files-being-ignored-in-favour-of-wp-cache-files/)
 *  Thread Starter [droverload](https://wordpress.org/support/users/droverload/)
 * (@droverload)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/wp-supercache-files-being-ignored-in-favour-of-wp-cache-files/#post-18330872)
 * So from what I can see I should add the following code (cookieName obviously 
   being the name of the cookie):
 *     ```wp-block-code
       function add_wpsc_cookie_banner() {    do_action( 'wpsc_add_cookie', cookieName );}add_action( 'init', 'add_wpsc_cookie_banner' );
       ```
   
 * My question is where do I put it exactly? I’m not too sure which file it (and
   the cookie removal action if I uninstall) would run from. How many times would
   it run/how often does it need to run? Each time the plugin is updated/reinstalled?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Super Cache] WP-Supercache files being ignored in favour of wp-cache files](https://wordpress.org/support/topic/wp-supercache-files-being-ignored-in-favour-of-wp-cache-files/)
 *  Thread Starter [droverload](https://wordpress.org/support/users/droverload/)
 * (@droverload)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/wp-supercache-files-being-ignored-in-favour-of-wp-cache-files/#post-18330724)
 * Thanks for your response, Donncha. From there I was able to see the issue is 
   being caused by a cookie consent plugin that in turn adds a cookie once the use
   accepts terms.
 * I’ll try following the info from the link you provided.
    -  This reply was modified 1 year, 6 months ago by [droverload](https://wordpress.org/support/users/droverload/).

Viewing 4 replies - 1 through 4 (of 4 total)