Get first menu item of custom menu
Ok, real stupid while writing this post I was thinking about first looping of the menu items and then storing them in an array for later use. With the example on the following page I can manage that: http://codex.wordpress.org/Function_Reference/wp_get_nav_menu_items // Get the nav menu based on $menu_name (same as ‘theme_location’ or ‘menu’ arg to wp_nav_menu) … Read more