With installing this plugin you add functionality to
wp_nav_menu() to show
only children of the current page or start with a specific navigation level.
child-navigationdirectory to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
Show only children of current page
For showing all children of the current page set
children_only as argument
TRUE ) ); ?>
Show all items starting at specific navigation level
For showing all pages in the current root line, starting at a specific
navigation level, set
children_start_level as argument with the wanted
start level as value.
2 ) ); ?>
Show current page/start level in child navigation
children_show_start_level set to
TRUE the current page is shown in
children_only is set or starts with
children_start_level is set.
// use either
‘children_only’ => TRUE,
‘children_start_level’ => 2,
depth will be relative to the first displayed level.
There are no reviews for this plugin.
Contributors and Developers
“Child Navigation” is open source software. The following people have contributed to this plugin.Contributors
- Tested up to WordPress 4.0
- Improved code style following WordPress Coding Guidlines
- Added support for start level
- Added possibility to show current page