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

Add Descendants As Submenu Items

描述

When adding a page, category, or any hierarchical custom post type or taxonomy to your navigation menu (Appearance → Menus), this plugin allows you to optionally automatically add all descendants (children) of that menu item as submenu items.

In short, you’ll no longer have to manually maintain submenus when you add a new child page to your site.

螢幕截圖

  • The new checkbox that this plugin adds.
  • The child pages have automatically been added as submenu items.

安裝

Visit Plugins → Add New in your administration area and search for the name of this plugin.

常見問題

Installation Instructions

Visit Plugins → Add New in your administration area and search for the name of this plugin.

評價

2019年3月5日
Still works with WordPress 5.1 for Pages in menu. You need to add the Parent to the menu then save. Then edit again to see the checkbox to check the new flag. I was wanting to use it for WordPress Product Categories but it does not work for them (probably never did?). Only the parent shows for me. Be good if it did.
2018年4月30日
I have a very large site with over a thousand pages. There are many pages in sections and subsections, sometimes to four levels, used in conjunction with main sections. To get what I need for a menu, sometimes I have to use Custom Menu Wizard. But in doing so, I have to create some very large, tiered, non-auto menus manually... sometimes in the hundreds of pages. If a user adds a page or re-orders a page, I'd have to go back into the menu used by Custom Menu Wizard and add/edit accordingly to reflect those changes. With this plugin and a simple checkbox I've cut the number of actual necessary menu items to a fraction of before, AND the user can make changes as they please. What a great plug in! It should be part of the default Wordpress Appearance menu creator.
2016年9月3日
Still works great. Much better than Gecka Submenu - it doesn't break the layout on the menu screen and there's no unnecessary pro version upsell. I hope this is updated at some point because its age is hiding it from WP's search results.
2016年9月3日
This is such a time-saver. I am using this in conjunction with many nested Woocommerce product categories. The root categories don't change on the main menu, but it's possible the children will... so now the customer can change those until their fingers bleed and it just works! Thank you 🙂
閱讀全部17個評價

貢獻者及開發者

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

貢獻者

修改日誌

Version 1.2.1

  • Minor update allowing for loading translation files from WordPress.org.

Version 1.2.0

  • _get_post_ancestors() will/was deprecated in WordPress 3.5 and no longer works. Parts of this plugin have been rewritten to more properly get post ancestors.
  • Bug fix: Don’t highlight parents of different types. Post types and terms can have the same IDs.

Version 1.1.0

  • Support for hierarchical taxonomies (i.e. categories). Props WPAddiction for the idea.
  • Translatable plugin headers.

Version 1.0.1

  • Fix sorting by secondarily sorting by title.

Version 1.0.0

  • Initial release!