Plugin / ATR advanced menu

Yehuda Tiram

Installation

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 add ‘walker’ => new atr_advanced_menu_walker() to wp_nav_menu. :

add to this:

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

See the last property:

 <pre><?php  
        wp_nav_menu( array(
        'theme_location'    => 'primary',
        'menu_class' => 'nav-menu',
        'menu_id' => 'primary-menu',
        '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 ‘menu_class’ => ‘nav-menu’ in above example ). 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.

Ratings

0
0 reviews

Rating breakdown

Details Information

Version

1.0.3

First Released

08 Sep, 2016

Total Downloads

1,073

Wordpress Version

3.9 or higher

Tested up to:

5.2.4

Require PHP Version:

-

Tags

Contributors

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.