How do I retrieve menu items from one level only?

Are you trying to display the posts from the top down a certain number of levels?

If so, use wp_nav_menu. It has an argument “depth” built just for this and it works painelssly.

wp_nav_menu(array('depth' => 2));

Also, http://codex.wordpress.org/Function_Reference/wp_nav_menu

Leave a Comment