Hello there,
I have a problem where i just can't see any logic explanation for:
I have two templates, which both use wp_list_pages() to show a navigation bar ("groups"). The navigation bar lists all pages whose parent's ID is stored via a custom field.
This works very well and also marks the current page as class="current_page_item".
I needed another navigation bar (which i called "subgroups"). Since i have implemented the second navigation bar, no page is recognized as current_page_item anymore. I have tried around whith different loops, but i didn't manage to get it to work again.
Could you please have a look at the two templates? Perhaps there is an obvious bug which i just don't see because i'm focusing on the wrong thing ;)
here are the files. ("groups" is the working one, "groups_with_subgroups" is the one which won't mark current pages.)
thanks for giving it a look ;)