Title: Code doesn&#8217;t load until logd in as Admin
Last modified: January 10, 2020

---

# Code doesn’t load until logd in as Admin

 *  [balrogasch](https://wordpress.org/support/users/balrogasch/)
 * (@balrogasch)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/code-doesnt-load-until-logd-in-as-admin/)
 * Hey there,
 * I’m trying to set up an cookie-banner with an opt-in configuration.
    Using ur
   Plugin the code works quiet good as long as I’m logged in to the WordPress admin
   panel. Once I log out and work like a normal user the code won’t load.
 * Have I missed any settings?
    How can I solve this problem?
 * best wishes
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcode-doesnt-load-until-logd-in-as-admin%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [joeybuddenberg](https://wordpress.org/support/users/joeybuddenberg/)
 * (@joeybuddenberg)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/code-doesnt-load-until-logd-in-as-admin/#post-12450114)
 * Having the exact same issue with a certain code. I want to include two different
   apps. One is working fine all along (over 6 months) the one I tried to add yesterday
   only shows up when logged in.
 *  Thread Starter [balrogasch](https://wordpress.org/support/users/balrogasch/)
 * (@balrogasch)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/code-doesnt-load-until-logd-in-as-admin/#post-12450164)
 * Hey,
 * for me it was a plugin called Cache Enabler that caused the problem.
    Deactivating
   it solved the problem.

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

The topic ‘Code doesn’t load until logd in as Admin’ is closed to new replies.

 * ![](https://ps.w.org/insert-headers-and-footers/assets/icon-256x256.png?rev=2758516)
 * [WPCode - Insert Headers and Footers + Custom Code Snippets - WordPress Code Manager](https://wordpress.org/plugins/insert-headers-and-footers/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-headers-and-footers/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-headers-and-footers/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-headers-and-footers/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [balrogasch](https://wordpress.org/support/users/balrogasch/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/code-doesnt-load-until-logd-in-as-admin/#post-12450164)
 * Status: not resolved