This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

ATR advanced menu

Description

Easily create accessible mega/dropdown menu with images/icons/title/posts using standard WordPress menu editing page (supports keyboard interaction ).
Add menu item icons and images from media library, icon-font or featured image of the post(automatically).
Create menu items with none standart content, like videos, post content or anything that can be put in a post.

Note: This plugin requires a change of the header.php file of your theme (or another file, if the menu is defined somewhere else).
It also requires css editing in order to style it. It will technically work out of the box but you nust style it.

See a demo here:

See the menu editing guide here:

Features

  1. Save each item without reloading the page.
  2. Each menu item is conrolled separately
  3. Show images in menu items. Select between font icon, image from media library, Featured image of the post or none.
  4. In addition to the image you can show in the menu: Title Attribute, Description and Subtitle.
  5. Menu items can load full post (thus, enables you to inject html, video, image etc. or even shortcode) or post excerpt directly into it.
  6. Remove title (and link) from menu item (if you want the menu item with post not to show menu title).
  7. Load web-font directly from the menu settings.
  8. Let you define a unique class to each drop down panel. This way you can control each panel layout separately.
  9. Uses class prefix to avoid css conflicts.

all the editing of the menu is done by the familiar menu editor of wordpress.

Screenshots

  • Description of first screenshot named screenshot-1
  • Description of second screenshot named screenshot-2

Installation

Note: You must define a valid menu in your WP before activating the plugin in order for it to work correctly.
If you see an error regarding this plugin, deactivate it and set a menu first.

Installation can be done either by searching for “ATR advanced menu” via the “Plugins > Add New” screen in your WordPress dashboard, or by using the following steps:

  1. Download the plugin via WordPress.org
  2. Upload the zip file through the ‘Plugins > Add New > Upload’ screen in your WordPress dashboard
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

After installation:

Important! You must edit the header.php file of your theme in order to use the menu.
Edit your theme header.php file and replace the call for the menu:

<pre><?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?></pre>

with:

 <pre><?php 
                    wp_nav_menu( array(
                        'theme_location' => 'primary',
                        'menu_id' => 'primary-menu',
                        'container'       => 'div',
                        'echo'            => true,
                        'items_wrap'      => '<div class="megamenu"><ul id="%1$s" class="%2$s">%3$s</ul></div>',                            
                        'container_class'    => 'LayoutGrid LayoutCenter PanelDiffuseShadow PanelFillExtraLight',
                        'menu_class' => 'atr_accessible_megamenu',
                        'walker'             => new atr_advanced_menu_walker()) );                  
?></pre>    

Note 1: If you use a theme that uses indirect call to the menu definition (mostly in bought themes or themes that use a framework) you’ll have to find the correct way to apply the plugin in that theme.

Note 2: Examine the class of the menu wrapper div in your theme (like “main-navigation” class). Usually this theme class has properties that override the plugin’s css definitions and can mess up your menu.

If that happens, simply specify the css rule like so:
Find the rule that breaks the menu, for example:
.main-navigation ul ul {}
Duplicate it and add “.megamenu” (the wrapper for the plugin’s generated menu ) as an explicit selector.
.main-navigation .megamenu ul ul {}

You’ll have also to set the other classes for the menu to display well.

Settings

Right after activating the plugin, go to Appearance – > ATR advanced menu Settings
Set your settings and save.

FAQ

What is the ATR advanced menu for?

It is a replacement for the default menu provided by WordPress. It uses a feature of WordPress, called Walker which let us customize the way the menu behaves.

Why do I have to go to header.php I am not a programmer

The only way to replace the default menu is from the header file.
If you do not know how to do it please ask some one who knows.

Is it accessible?

Yes. You can navigate between the items by your keyboard.

Contributors & Developers

“ATR advanced menu” is open source software. The following people have contributed to this plugin.

Contributors

Translate “ATR advanced menu” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.2

  • 2016-9-09
  • Checked for WP 4.6.1
  • Made the settings more clear
  • Change settings behaviour.
  • megamenu.css now loads only the mandatory classes

1.0.1

  • 2016-9-08
  • Fixed undefined chooseimage var

1.0

  • 2016-9-05
  • Initial release