wp_nav_menu Extended!


Add missing functionality to the native wp_nav_menu() function!

With this plugin you can now use the following options in addition to the default options of wp_nav_menu:

level : (integer) (required for this plugin to work) The level of the navigation menu to show. If no child_of parameter is passed, it shows all the items of this level

child_of : (string|integer) (optional) Either the title or menu item ID of the parent in the menu whose direct children are to be shown

Sample Usage

$defaults = array(
‘theme_location’ => ‘main_menu’,
‘level’ => 2,
‘child_of’ => ‘About Us’,

wp_nav_menu( $defaults );


  1. Upload the wp-nav-menu-extended folder to the /wp-content/plugins/ directory
  2. Activate the wp_nav_menu Extended! plugin through the ‘Plugins’ menu in WordPress
  3. You can now use the new options in your code!


April 15, 2018
Thank you for this plugin. Works with WP 4.9.5.
November 22, 2017
Thank you for answering this question on Stack Exchange! That's how I found your plugin, and it's exactly what I needed. Thank you!
September 3, 2016
Looked around for hours, and found nothing but hacky fixes. This displays your sub nav items in any div you want/in any spot you want. This plugin is great!
Read all 7 reviews

Contributors & Developers

“wp_nav_menu Extended!” is open source software. The following people have contributed to this plugin.