[wp-hackers] Page ancestry and CSS
mike at zed1.com
Sun Jul 26 20:50:16 UTC 2009
2009/7/26 SoJ Web <sojweb at indiana.edu>:
> Question about wp_list_pages() and page ancestry:
Since WordPress 2.8.1 you can substitute your own Page Walker, and
because it's a class you only need to override the one function you
See http://core.trac.wordpress.org/ticket/8673 for a trivial example.
You should also consider the flexi-pages-widget which does what I
think you need to do without needing to hide things (which will fail
on some browsers).
It's working for me on a hierarchy 7 levels deep.
More information about the wp-hackers