Make WordPress Core

Opened 16 years ago

Closed 4 years ago

#9232 closed enhancement (wontfix)

introduce include_tree parameter to wp_list_pages

Reported by: dwenaus's profile dwenaus Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.7.1
Component: Posts, Post Types Keywords: needs-patch
Focuses: template Cc:

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 (6)

#1 @janeforshort
16 years ago

  • Milestone changed from 2.8 to Future Release

Punting due to feature freeze. Reconsider with next release.

#2 @eduplessis
15 years ago

  • 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.

#3 @nacin
11 years ago

  • Component changed from Template to Posts, Post Types
  • Focuses template added

#4 @wonderboymusic
10 years ago

  • Keywords needs-patch added; include wp_list_pages include_tree removed
  • Milestone changed from Future Release to 4.4

#5 @wonderboymusic
10 years ago

  • Milestone changed from 4.4 to Future Release

I don't have a patch and this is more confusing than it looks

#6 @johnbillion
4 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

Closing due to lack of interest.

Note: See TracTickets for help on using tickets.