WordPress Wp Nav Menu Filter - Rating, Reviews, Demo & Download

WordPress Wp Nav Menu Filter Preview - Rating, Reviews, Demo & Download
5 Average out of 2 ratings
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

If you have built custom WordPress themes, you have probably ran into needing to display navigation on subpages. Rather than try to manage several navigation menus, or try to output menus with wp_list_pages(), why not manage everything from a single menu, and just pass different parameters to show what you want? Makes sense to me…

To use it, simply add a ‘submenu’ parameter to the arguments of wp_nav_menu, like so:

wp_nav_menu(array(
  'menu' => 'header',
  'submenu' => 'Solutions' //Using parameter of Page Name
));

----  OR  ----

wp_nav_menu(array(
  'menu' => 'header',
  'submenu' => '46' //Using parameter of Page ID (!important - Passing ID in STRING FORMAT)
));

Screenshots

  1. wordpress-wp-nav-menu-filter screenshot 1

    Display just the highlighted part of an entire navigation menu based on wp_nav_menu.


Reviews & Comments