How to highlight current nav tab?
-
Hello.
I’m creating a theme that will be used on several sites, with different number of pages etc. I want my navigation tabs to highlight when the reader is on that specific page, got ready “current” class, but can’t find the way to apply it to the dynamically created pages.
I’m using
wp_list_pages()
template tag to create theul
with navigation, so every page made in backend will be displayed in navigation automatically. I saw a screencast by Chris Coyer but it requires the navigation to be hardcoded into the header.Is there any way to achieve the same effect using template tag to create navigation?
Justine
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to highlight current nav tab?’ is closed to new replies.