I would like to build a menu structure where you can only see the menu item of the current page like on this web site http://www.bigspaceship.com/services/
I search around and I have the following function so far
<?php
$menu_items = wp_get_nav_menu_items( 'main-menu' );
foreach( $menu_items as $item ) {
print_r( $item ) ; // see what you can work with
// carry on
}
How can I actually print only the menu item name for the current page? I want to still control the menu item from the dashboard meaning I want to be able to change the name of each menu within the admin and have them dynamically update.
Thanks for any help.