该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Two Level Conditional Menu

描述

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.

安装

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

评价

此插件暂无评价。

贡献者及开发者

「Two Level Conditional Menu」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

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