WordPress.org

Plugin Directory

WordPress wp nav menu Filter

Adds the ability to pass an argument (pageID or page name) to show a filtered submenu with wp_nav_menu().

Install this plugin in the normal way:

  1. Place it in your /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Use the wp_nav_menu function with a submenu parameter in your templates

    wp_nav_menu(array( 'menu' => 'header', 'submenu' => 'Solutions' ));

    wp_nav_menu(array( 'menu' => 'header', 'submenu' => '46' )); //Important - You MUST pass the ID as a STRING!

Requires: 3.0.0 or higher
Compatible up to: 3.9.6
Last Updated: 2014-7-30
Active Installs: 1,000+

Ratings

5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,2,2
0,1,0
100,2,2
100,1,1