/ Published in: PHP
You may want to create navigation where the children are displayed only when the parent page is the current page. Place the code in your functions.php file
URL: http://awesomewordpressthemes.net/wordpress-tips/check-current-page-subpage/