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

Auto Submenu

描述

By default, the menu system in WordPress only allows you to “Automatically add new top-level pages”, and does not offer the same functionality for new child pages. Auto Submenu solves that problem.

When activated, Auto Submenu will do its magic whenever you publish a new child page. If the new page’s parent is placed in a custom menu, then the new page will be added to that menu too (one level below its parent). Should you wish to reorder or delete the new page from the menu, you can simply do so on the admin Menus Screen.

The plugin does not have any settings. Auto Submenu will just work for all custom menus where the “Automatically add new top-level pages” setting is enabled.

螢幕截圖

  • Publish a new child page.
  • And voila, the new child page has been added automatically to your custom navigation menu.

安裝

The easiest way to install this plugin is via the admin’s Plugins screen.

Alternatively:

  1. Upload the auto-submenu directory to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

評價

2016年9月3日
This work simple and perfect. for me as a beginner with wordpress Thanks
2016年9月3日
An excellent tool, thank you! Flaws: 1. Needs better explanation on how to implement - getting started might seem intuitive to some, others (like myself) have to figure out how to start a new menu's "child" hierarchy correctly; 2. When adding new pages, MUST get it right first try; if you forget to make the new page a child (using "PARENT" drop-down), you cannot go back after and correct - the auto-add menu feature won't see it; have to redo /clone the page and get it right this time;
2016年9月3日
With or without that other box ticked, and with Setting Parent correct, it doesn't appear in the menu.
2016年12月23日
Sadly not working. Let me know if its gonna be compatible with my version(4.4.2) !
2016年9月3日
Good, saved me from a lot of work. Bookmarked
閱讀全部22個評價

貢獻者及開發者

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

貢獻者

將 Auto Submenu 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

0.2

  • Added support for multiple menus.

0.1

  • First release.