Nav Menu Collapse

Description

Adds functionality to collapse and expand nav menus within the WordPress admin. The collapse/expand state for the menus is saved for each user that leverages the functionality.

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.

Compatibility

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

Screenshots

  • Plugin settings page
  • Nav menu collapse/expand functionality

Installation

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

From WordPress.org

  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.

FAQ

Installation Instructions

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

From WordPress.org

  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.

Reviews

Bliss

Simple, well thought out UI makes managing menus much easier. Should be in core.

Just what I needed

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 4 reviews

Contributors & Developers

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

Contributors

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.

Changelog

1.2.1

Released 2018-08-27

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

1.2.0

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

1.1.4

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

1.1.3

Released 2018-03-28

  • Changed: Domain name

1.1.2

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

1.1.1

Released 2018-03-08

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

1.1.0

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

1.0.3

Released 2018-02-19

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

1.0.2

Released 2018-02-15

  • Fixed: Minor definition string issues

1.0.1

Released on 2018-02-15

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

1.0.0

Released on 2018-02-15

  • Initial release