Nav Menu Collapse


Adds functionality to collapse and expand nav menus within the WordPress admin. All nav menu items are collpased by default, but you have the option to store the collapsed/expanded state for the menus on a user-by-user basis.

If you are looking for more than just collapse/expand functionality for Nav Menus, the Nav Menu Manager may be a better choice for you.


The collapse/expand buttons and functionality are added after the page loads via jQuery. Since there is no need for an action hook, this plugin should be compatible with most themes and plugins.


  • Plugin settings page
  • Nav menu collapse/expand functionality


From Your WordPress Dashboard

  1. Log into the WordPress admin
  2. Go to Plugins > Add New
  3. Search for Nav Menu Collapse
  4. Click Install Now for the ‘Nav Menu Collapse’ plugin
  5. Click Activate


  1. Download the plugin
  2. Log into the WordPress admin
  3. Go to Plugins > Add New
  4. Click Upload Plugin
  5. Click Browse and select the downloaded ZIP file
  6. Click Install Now
  7. Click Activate Plugin

Via File Transfer

  1. Download the plugin
  2. Extract the ZIP file
  3. Upload the contents of the ZIP file to wp-content/plugins/
  4. Log into the WordPress admin
  5. Go to Plugins
  6. Click Activate under ‘Nav Menu Collapse’

What’s Next?

Once the plugin is active, simply visit Settings > Nav Menu Collapse and enable the settings appropriate for this site.


22 març 2020
It's a must-have plugin for the websites where the menu is multi-level deep or a complex menu structure.
8 abril 2018
Simple, well thought out UI makes managing menus much easier. Should be in core.
20 febrièr 2018
Having a website with a large menu system can make the standard menu tool within WordPress a pain. Having to drag new menu items past loads of others until it's correctly positioned. This plugin takes that pain away. Collapse or expand all, or within a section, or even hover the new item over a closed section to have it open up.... perfect; just what I was looking for. Will not be surprised if this isn't standard functionality in a few versions time.
Read all 6 reviews

Contributors & Developers

“Nav Menu Collapse” is open source software. The following people have contributed to this plugin.


Translate “Nav Menu Collapse” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



Released 2019-05-08

  • Added: Made sure the plugin works in WordPress 5.2.0


Released 2019-04-25

  • Added: Made sure the plugin works in WordPress 5.1.1
  • Added: Nested nav menu item count.
  • Added: Prevent functionality load when used with the latest version of Nav Menu Manager
  • Improved: Tons of improvements


Released 2018-08-27

  • Added: Made sure the plugin works in WordPress 4.9.8
  • Improved: Optimized field ID value


Released 2018-06-14

  • Added: Made sure the plugin works in WordPress 4.9.6
  • Updated: Asset generation tools
  • Improved: Removed static utilities class and replaced it with template functions
  • Improved: Help tab overview output
  • Improved: Version check functionality
  • Improved: Uninstall process
  • Improved: Various other minor improvements


Released 2018-04-20

  • Fixed: Disabled state for collapse/expand all buttons when reordering nav menu items
  • Added: Made sure the plugin works in WordPress 4.9.5
  • Improved: Moved core object classes to their own folder


Released 2018-03-28

  • Changed: Domain name


Released 2018-03-27

  • Added: Full RTL support
  • Changed: Made help class static
  • Improved: Default object values
  • Improved: High-level variable comments
  • Improved: Abstract wrapper class
  • Improved: Other minor structural improvements


Released 2018-03-08

  • Removed: Plugin activation hook. Forgot that isn’t fired when the plugin is updated


Released 2018-03-08

  • Added: Plugin activation hook
  • Added: New option to store menu collapsed states in user meta. By default, all menu items are collapsed unless this option is enabled
  • Improved: Help tab functionality and output
  • Improved: Various structural improvements


Released 2018-02-19

  • Fixed: Removed Essential Grid plugin meta box from the setting page


Released 2018-02-15

  • Fixed: Minor definition string issues


Released on 2018-02-15

  • Fixed: Collapsed state resetting when adding a menu item
  • Improved: Animated the initial collapsed state
  • Updated: POT file


Released on 2018-02-15

  • Initial release