[wp-hackers] Top level current page navigation
Dan Gayle
dangayle at gmail.com
Mon Dec 1 20:14:47 GMT 2008
I'll look into that! Thanks.
On Dec 1, 2008, at 11:29 AM, Jennifer Hodgdon wrote:
> There's a function in wp-includes/category.php called
> cat_is_ancestor_of()
> that might help you, if I've understood correctly what you're trying
> to do.
>
> --Jennifer
>
> Dan Gayle wrote:
>> RIght now I am running a convoluted method of determining current
>> page navigation for a client's blog that has thousands of posts and
>> hundreds of pages:
>> [...]
>> What I need is to have the top level navigation be highlighted as
>> current for a specific category and any/all of its children.
>
> --
> Jennifer Hodgdon * Poplar ProductivityWare
> www.poplarware.com
>
> Drupal/WordPress Sites, Themes, Modules/Plugins
> Custom Web Programming, Web Databases
> PHP, Perl, MySQL, JavaScript, XML, AJAX
>
> _______________________________________________
> 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