This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Two Level Conditional Menu

Description

A conditional two-level menu only shows the second level of the menu on relevant pages.

For example, if you had a menu that had a structure like so:

  • Home
  • About
    • History
    • People
  • Contact
    • Mail
    • Phone
    • Email

You would only be able to see the “History” and “People” menu items on the “About,” “History,” and “People” pages.

Installation

  1. Upload two-level-conditional-menu.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Contributors & Developers

“Two Level Conditional Menu” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.2

  • Updated: menu can be anywhere, not just in ‘primary’ location.
  • Updated: Any ‘container’ that wp_nav_menu accepts will work.
  • Fixed bug: Any pages that had multiple posts couldn’t have sub-menu items.

1.1

  • Fixed bug: If the blog page was in the menu, sub-menu items weren’t showing up.

1.0