i created a dynamically highlighted menu on the sidebar as described at http://codex.wordpress.org/Dynamic_Menu_Highlighting – no problem so far. next, i introduced the is_category(); function next to is_page(); and it’s working fine as well (like e.g. “/wordpress/category-one”)…
until i open the categories’ single posts (like e.g. “/wordpress/category-one/123”): then, the highlightning in the sidebar-menu disappears.
any idea where i’m wrong?
– maybe a problem with my permalink-structure? (currently: /%category%/%post_id%)
– or is the is_category(); function not the right way to do it?
– or maybe i have to work with category templates as described at http://codex.wordpress.org/Category_Templates ?
hm… maybe someone has a hint for me, that would be great!
- The topic ‘highlight current category’ is closed to new replies.