Этот плагин не тестировался с последними 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.

Отзывы

Март 5, 2019
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.
Апрель 30, 2018
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.
Сентябрь 3, 2016
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.
Сентябрь 3, 2016
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» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Add Descendants As Submenu Items» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

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!