Git Product home page Git Product logo

add-descendants-as-submenu-items's Introduction

=== Add Descendants As Submenu Items ===
Contributors: Viper007Bond
Tags: menu, nav menu, children, descendants
Tested up to: 4.9
Stable tag: trunk
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automatically all of a nav menu item's descendants as submenu items. Designed for pages but will work with any hierarchical post type or taxonomy.

== Description ==

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.

== Installation ==

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

== Screenshots ==

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

== ChangeLog ==

= 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!

add-descendants-as-submenu-items's People

Contributors

viper007bond avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.