Creates a widget, which allows you to add drop down mega menus from any standard WordPress custom menu using jQuery. Can handle multiple mega menus on each page, offers either “fade In” or “slide down” effects and the option to use hover or click to show the sub-menu. For best results use 3 levels for the custom menu.
The widget has several parameters that can be configured to help cutomise the mega menu:
- Hover/Click – Select the event that activates the sub-menu. Note that if using “Click” the parent menu links will be disabled
- Number Items Per Row – Select the number of sub-menu items to be shown on each row of the mega menu.
- Skin – Several sample skins are available to give examples of css that can be used to style your own mega menu
- Animation Effect – The effect used to display the drop down menu. Options are slide down or fade in
- Animation Speed – The speed at which the dropdown menu will open/close – selecting “No Animation” will immediately show/hide the menu
- Set Sub Menu To Full Width – If checked, the drop down mega sub menu width will be 100%
- Upload the plugin through
Plugins > Add New > Uploadinterface or upload
jquery-mega-menufolder to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
- In the widgets section, select the jQuery mega menu widget and add to one of your widget areas
- Select one of the WP menus, set the required settings and save your widget
- The menu appears on the page but does not work. Why?
One main reason for this is that the plugin adds the required jQuery code to your template footer. Make sure that your template files contain the wp_footer() function.
- How should I structure my custom menu to get the best results?
The widget works by taking the standard menu structure and creating the sub-menus from the nested links. To get the full effect you need to have 3 levels within the custom menu:
- First level is used for the main menu items
- The second level is used to create the sub-menu headings
- The 3rd level links are then grouped together under the headings to create the menu options
Example: Products –> Category –> Product Ranges
- The menu appears but the drop down sub-menu doesn’t show?
Check your theme style sheet to see if the tags wrapping the menu have “overflow: hidden;”. This will prevent the sub-menus from appearing underneath the main menu bar.
Contributors & Developers
“JQuery Mega Menu Widget” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Updated: plugins_url()
- Updated: combine jquery scripts
- Updated: wp_enqueue_script
- Updated: jquery.dcmegamenu.1.3.4.js – switched to minified version
- Fixed: Error with default values
- Added: Full width option for mega menu
- Updated: jquery.dcmegamenu.1.3.3.js
- Added: Option to select no animation
- Fix: Fixed bug with “no theme” option
- Fix: IE7 Bug in initialisation code
- Add: Ability to select either click or hover event
- Add: Menu automatically adjusts to stay within right-hand limit
- Add: Ability to select animation effect
- Fixed: Bug fixes for IE7
- Edit: Security for dynamic skins
- First release