WP Manifestindependent plugin directory
manifest / themes / be-mega-menu

BE Mega Menu

Use a visual editor for managing mega menu dropdowns

★ 16stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/billerickson/be-mega-menu/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

BE Mega Menu lets you use a visual editor for managing mega menu dropdowns.

Go to Appearance > Menus to create your top level menu items. Go to Appearance > Mega Menus to manage the mega menu dropdowns. Create a Mega Menu with the same title as the top level menu item under which it should appear.

This plugin does not add any CSS, so you'll need to customize the styling in your theme. Here is sample CSS.

Screenshots

Backend

backend screenshot

Frontend

frontend screenshot

Customization

The mega menu applies to the 'header' menu theme location. You can change this using the be_mega_menu_location filter. Example:

/**
 * Mega Menu on Primary Menu 
 *
 */
function ea_primary_mega_menu( $theme_location ) {
    return 'primary';
}
add_filter( 'be_mega_menu_location', 'ea_primary_mega_menu' );

The opening markup on mega menus is <div class="mega-menu"><div class="wrap">. This can be customized using the be_mega_menu_opening_markup filter.

The mega menu content can be customized using the ea_the_content filter. See this example to duplicate the filters on the_content

The closing markup on mega menus is </div></div>. This can be customized using the be_mega_menu_closing_markup filter.

You can customize the post type arguments used to create the Mega Menu post type with the be_mega_menu_post_type_args filter.