[wp-trac] [WordPress Trac] #9153: wp_list_pages cannot handle
multiple exclude_tree arguments
WordPress Trac
wp-trac at lists.automattic.com
Tue Feb 17 15:32:48 GMT 2009
#9153: wp_list_pages cannot handle multiple exclude_tree arguments
--------------------------+-------------------------------------------------
Reporter: tbrams | Owner: anonymous
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.8
Component: General | Version: 2.7
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
When trying to set up a menu based on wp_list_pages and a long list of
chapters I did not want on the front page, I learned that wp_list_pages
ignored all exclude_tree arguments - except for the first one.
For example, using:
{{{
wp_list_pages('exclude_tree=132,502,715,852,109,153,149&title_li=&sort_column=menu_order'
);
}}}
to generate the menu at http://ttu.no was a no go, because it returned far
to many sections in the menubar (despite my efforts to explicitly exclude
a lot of these)
Although it is certainly not a show stopper, it is really annoying when
you need a drop down menu on your website and know exactly how it should
work in theory, so I have found a solution for this already and am just
trying to figure out how I can convey my suggested fix to the official
Open Source Repository.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9153>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list