[wp-hackers] Page ancestry and CSS

SoJ Web sojweb at indiana.edu
Sun Jul 26 21:05:22 UTC 2009


Oh, cool, I wasn't aware you could use your own Page Walker; that's  
perfect (and I'm using display:none to hide things, so browser  
compatibility isn't really an issue). Flexi-pages is neat, but it's  
overkill for my purposes. Thanks!


-Jeff

On Jul 26, 2009, at 16:50 PM, Mike Little wrote:

> 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
> need.
>
> 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.
>
>
>
> Mike
> -- 
> Mike Little
> http://zed1.com/
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list