[wp-hackers] Page ancestry and CSS

SoJ Web sojweb at indiana.edu
Mon Jul 27 12:04:33 UTC 2009


Not that I'm aware of... is it supposed to?

-Jeff


On Jul 27, 2009, at 2:02 AM, Simon Wheatley wrote:

> On Sun, Jul 26, 2009 at 9:31 PM, SoJ Web<sojweb at indiana.edu> wrote:
>>
>> This works fine if the hierarchy is only 2-deep; beyond
>> that, however, it fails, because WordPress only adds the
>> "current-page-parent" class to a page's immediate parents, and not  
>> to the
>> parents of the parent.
>>
>
> Doesn't it add 'current-page-ancestor' and 'current-page-descendant'?
>
> S
>
>
> ---
> Sweet Interaction Ltd is Registered in England/Wales, no. 6610741
> Registered office: 7 Malton Av, Manchester, M21 8AT
> _______________________________________________
> 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