Opened 4 years ago

Last modified 3 years ago

#9232 new enhancement

introduce include_tree parameter to wp_list_pages

Reported by: dwenaus Owned by: anonymous
Priority: normal Milestone: Future Release
Component: Template Version: 2.7.1
Severity: normal Keywords: include, wp_list_pages, include_tree
Cc: eduplessis

Description

to match the excellent exclude_tree parameter, it would be invaluable to have the ability to list one page and have all it's children display as well. At present, there is no way to do this.

We should add a include_tree parameter to the wp_list_pages function.

This addition would be helpful while creating drop down menus and side bar menus for sub sections of large websites.

Change History (2)

  • Milestone changed from 2.8 to Future Release

Punting due to feature freeze. Reconsider with next release.

  • Cc eduplessis added
  • Keywords include_tree added

we need this ... and I don't have to explain why...every wordpress dev know how it's complicated to make a menu with a dropdown.

Note: See TracTickets for help on using tickets.