Title: [Plugin: wp-menu] nav_levels
Last modified: August 19, 2016

---

# [Plugin: wp-menu] nav_levels

 *  [twlack](https://wordpress.org/support/users/twlack/)
 * (@twlack)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-menu-nav_levels/)
 * I think I’m reading this right:
 * **nav_levels** = options (int): 0 = all / 1+ = stop after level X {default = 
   0}
 * Here is my call:
 * wp_menu(‘nav_type=single_secondary&nav_levels=1+&nav_tag=ul&nav_id=nav&active
   =item&active_class=current’); ?>
 * With nav_levels set to 1+ the menus should only open to one level above current?
   So if this is the hierarchy:
 * Page 1
    page 1a page 1b Page 2
 * And I am on “Page 1” then “Page 1a” should show but NOT “Page 1b”
 * Then when on “Page 1a” “Page 1b” should show.
 * It is not working that way. When on “Page 1” both “Page 1a & 1b” show.

The topic ‘[Plugin: wp-menu] nav_levels’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [twlack](https://wordpress.org/support/users/twlack/)
 * Last activity: [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-menu-nav_levels/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
