Diagnosis

UberMenu javascript is not loaded

90

If a WordPress theme does not include the required hooks (wp_footer), UberMenu can’t load its javascript, so javascript functionality like animations, triggers, and maps will be lost.

Background

UberMenu works the way it does because it loads external javascript onto the site which tell the browser how to process the menu and handle user interactions.

WordPress has a hook system that provides a way for plugins to insert markup into a page – but a theme must implement these hooks in order for this to be possible.

The problem

If a WordPress theme does not include the required hooks, UberMenu can’t load its javascript, so javascript functionality like animations, triggers, and maps will be lost. The two most important required Plugin API Hooks are

If either of these function calls is missing from your theme, UberMenu can’t include its styles and scripts.

Identifying the issue

Check the source of your page – if the script ubermenu.min.js (or ubermenu.dev.js if you’re in developer mode) is missing, it’s likely your theme doesn’t call wp_footer.

Alternatively, jQuery Enhancements may have been disabled (this only applies to UberMenu 2).

The Solution

Make sure that your header.php includes the wp_head() function, and the footer.php includes the wp_footer() function.