#10902 closed defect (bug) (invalid)
Display problem with exclude option in wp_list_pages
Reported by: | toutantic | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.8.4 |
Component: | Template | Keywords: | reporter-feedback |
Focuses: | Cc: |
Description (last modified by )
Create pages A,B,C and D, A parent of B, B of C and C of D
A -B --C ---D
call in a template
<?php wp_list_pages("exclude=6"); ?>
(6 is the ID of page B)
I get this display:
* A * C * D
when I expect:
* A * C -* D
Change History (6)
#3
@
11 years ago
- Resolution set to invalid
- Status changed from new to closed
No feedback in over two years.
Note: See
TracTickets for help on using
tickets.
Do you expect
exclude
to remove the pages specified, or the pages specified and their children?If the first, how should child-pages that have their parent excluded be displayed? Beneath their next matching parent?
Related: #17015