這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Zen Menu Logic

描述

This plugin only works under the following conditions:
1. the theme has registered at least one menu location
2. user has created at least one custom menu with one or more
menu items.
3. user has selected which menu location the plugin should work on
in the Settings -> Zen Menu Logic options page
4. This plugin currently does not support a website that uses a plugin to
change the language of the site to something other than English. This might
change in the future.
5. Oftentimes themes have their own code that effects how menus work, specially
when it comes to mobile. Therefore, this plugin may not work with your theme.

If those 3 conditions are met, then the edit page for every page and post
and custom post type will contain a meta box listing the custom menus with
radio buttons. All you need do is select which custom menu should display
when that page is called.

安裝

  1. Unzip the download package
  2. Upload zen-menu-logic to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Go to the Zen Menu Logic options page in the Setting’s menu
    and select which menu location is the one that the plugin will
    work on.

alternatively

  1. upload the zip file from the Admin plugins page
  2. then activate
  3. Go to the Zen Menu Logic options page in the Setting’s menu
    and select which menu location is the one that the plugin will
    work on.

常見問題

Installation Instructions
  1. Unzip the download package
  2. Upload zen-menu-logic to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Go to the Zen Menu Logic options page in the Setting’s menu
    and select which menu location is the one that the plugin will
    work on.

alternatively

  1. upload the zip file from the Admin plugins page
  2. then activate
  3. Go to the Zen Menu Logic options page in the Setting’s menu
    and select which menu location is the one that the plugin will
    work on.

評價

2018年1月10日
Thank you! Works perfectly right out of the box. Conditional Menus plugin failed. And If Menu plugin has no options at all. Working with Beaver Builder plugin and Beaver Builder theme.
2017年8月1日 1 reply
Zen Menu is not working after Enfold Theme's last update. Are you planning to fix this problem soon? I disabled Zen Menu for now but need to use asap.
2016年9月3日 1 reply
Incredible happy to have found this plugin. I have tried it, and it works perfect. My website is being translated in several languages and as soon as that is done i will active Greg's Plugin again and place individual menus. But please Greg, can you make this work on mobile phones also? It would be a huge improvement. I am willing to donate money for that, and i am sure others will to. Looking forward to a feedback on this from you.
2016年9月3日
Easy to work with, because integrated perfectly 😉 Thank you ^^
閱讀全部21個評價

貢獻者及開發者

“Zen Menu Logic” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Zen Menu Logic 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.6

  • Fixed bug that was causing non object error when custom post types exist

1.5

  • Changed constructor to php 7 style

1.4

  • Fixed bug in saving logic. Tested in WP 3.6

1.3

  • Added uninstall functionality to delete option used by plugin

1.21

  • Changed the text in the options panel.

1.2

  • There is a design flaw in v1.1 where I assumed that the name of the primary menu location
  • was primary. That is the way it is in the 2011 theme. But not all themes are like that.
  • So this new version has an options page as a menu item of the Settings Menu that lists all
  • the menu locations by name. And you need to select which one is the primary, or, in other
  • words, which menu location the menu logic will work on. Please let me know if there are
  • any questions.

1.1

  • simplify code that tests is this plugin is supported by the theme
  • replace code that implemented the change in menu to use the wp_nav_menu_args filter

1.0

  • write menu logic code