描述
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
- Phone
You would only be able to see the “History” and “People” menu items on the “About,” “History,” and “People” pages.
安装
- Upload
two-level-conditional-menu.phpto the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
评价
此插件暂无评价。
贡献者及开发者
更新日志
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.