I’ve searched in the forum but I haven’t found an answer.
This is the situation:
– n.3 pages (page1,2,3)
– i’m viewing the page 1 in the content area and I have a page list in the sidebar (page1,2,3)
I want to highlight, in the sidebar, the page1 when I’m viewing the page1, the page2 when I’m viewing the page2 and the page3 when I’m viewing the page3.
I’ve tried with the conditional tag current_page_item and relative class applied to a css with a:visited but it works when I see the page1 but when I saw all pages all the list in the sidebar is highlighted.
Any suggestion, please?
- The topic ‘Current page in sidebar’ is closed to new replies.