highlight page in menu, if article from the same category is shown
I have rather strange question, and I’m not really good with wp template syntax. But I really hope to get some help from wp community.
I have a custom theme for wp. My menu is shown by the wp_list_pages function. And I have another menu which is shown in some pages.
It shows articles from the same category as the active page is. When I open one of thoose articles, I loose highlighting from the page which is in the same category as the article and which is shown in the top menu.
How can cope with this problem and make wp to highlight page in the menu, when the article from the same cat is shown?
- The topic ‘highlight page in menu, if article from the same category is shown’ is closed to new replies.