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

Canvas Mobile Menu Addition

外掛說明

WordPress WooThemes’ Canvas Mobile Menu Addition. Hides sub-menus in mobile mode and shows them only when clicked.

This will add the display:none property to all sub-menus so that only the top-level menus are shown in mobile mode.

When the top-level menu is clicked it will show the sub-menus below it. If you click on the top-level menu a 2nd time it will route to the top-level menu URL destination.

This plugin works recursively, so this will allow sub-menus which have sub-menus within them to behave the same way.

**There is also sometimes a CSS glitch if you leave the menu open in mobile mode and then resize the window to a another mode, this plugin fixes that issue by closing the menu whenever the width is resized.

Arbitrary section

Requires WooThemes Canvas theme or child-theme.

A brief Markdown Example

安裝方式

Install the .zip file using WordPress

-or-

  1. Unzip and upload the canvas-nav directory into the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Done!

常見問題集

Does this plugin hide my submenus?

Yes, but only when the window size is less than 767 pixels, which is what Canvas uses to trigger it’s mobile responsive mode.

What about my target link?

When the parent menu is clicked a 2nd time in a row it will redirect the user to the link. It’s very intuitive.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Canvas Mobile Menu Addition〉的開發相關工作。

參與者

將〈Canvas Mobile Menu Addition〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0

  • Initial Version