Title: Drop-down theme not working
Last modified: December 28, 2020

---

# Drop-down theme not working

 *  [darlay123](https://wordpress.org/support/users/darlay123/)
 * (@darlay123)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/drop-down-theme-not-working/)
 * Hi, Starbox used to work on my site just fine but recently I noticed the drop-
   down theme has stopped working. It displays, but does not dropdown & the console
   says “jQuery is not defined”.
 * I tried deactivating all caching etc but the issue still remains.
 * What I notice is that the Starbox JS scripts are included at the top of the page,
   whereas jQuery is at the bottom.

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

 *  Thread Starter [darlay123](https://wordpress.org/support/users/darlay123/)
 * (@darlay123)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/drop-down-theme-not-working/#post-13840678)
 * I just ran a test & added the code to wp_footer with priority 99 (after jQuery)
   and it worked fine. For some reason Starbox is loading its code before jQuery?
   And it also seems to be ignoring WP Rocket’s caching rules.
 *  Plugin Contributor [Calin Vingan](https://wordpress.org/support/users/calinvingan/)
 * (@calinvingan)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/drop-down-theme-not-working/#post-13842497)
 * Hi [@darlay123](https://wordpress.org/support/users/darlay123/),
 * Starbox library loads with jQuery dependency. Could be from WP-Rocket las updates
   so we will test it again and add a compatibility fix.
 * Thank you for letting us know about this.
 * Best, Calin
 *  Thread Starter [darlay123](https://wordpress.org/support/users/darlay123/)
 * (@darlay123)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/drop-down-theme-not-working/#post-13843341)
 * Oddly, even after deactivating WP Rocket my scripts (jQuery etc) are still being
   loaded into the footer, so it’s still not working. I use the GeneratePress theme–
   but I also use the same theme on other sites & the scripts are loading in the
   header on those, so I’ve no idea what’s pushing the scripts down to the footer.
   I can only assume it must, somehow, be GeneratePress that’s doing it.

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

The topic ‘Drop-down theme not working’ is closed to new replies.

 * ![](https://ps.w.org/starbox/assets/icon-256x256.png?rev=1974206)
 * [Starbox - the Author Box for Humans](https://wordpress.org/plugins/starbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/starbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/starbox/)
 * [Active Topics](https://wordpress.org/support/plugin/starbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/starbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/starbox/reviews/)

## Tags

 * [author](https://wordpress.org/support/topic-tag/author/)
 * [drop-down](https://wordpress.org/support/topic-tag/drop-down/)

 * 3 replies
 * 2 participants
 * Last reply from: [darlay123](https://wordpress.org/support/users/darlay123/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/drop-down-theme-not-working/#post-13843341)
 * Status: not resolved