Adds tha ability to show only a submenu with wp_nav_menu().
| Author: | Marcus Downing (profile at wordpress.org) |
| WordPress version required: | 3.0.0 |
| WordPress version tested: | 3.1.4 |
| Plugin version: | 1.2 |
| Added to WordPress repository: | 06-05-2011 |
| Last updated: | 31-01-2012
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
| Rating, %: | 0 |
| Rated by: | 0 |
| Plugin URI: | http://www.bang-on.net |
| Total downloads: | 3 590 |
| Active installs: | 10+ |
![]() Click to start download |
|
When writing or modifying a theme, the function wp_nav_menu() displays the contents of menus configured in your settings. If you have a lot of little menus the list can get hard to manage, so this plugin lets you group several menus under a single menu.
To use it, simply add a submenu parameter to the arguments of wp_nav_menu, like so:
wp_nav_menu(array(
'menu' => 'header',
'submenu' => 'About Us'
));
FAQ
