I needed to get the sidebar of my page to list current siblings of the parent category as menu links. I was able to find the code to get it to work, but it’s now stripped out the .current-cat class from the active link, so I’ve lost the formatting that I need. In the below example, the “Interior Signage” link in the sidebar should return as .current-cat and show as bold with a plus replacing the dash on the left.
Any ideas on how to get the .current-cat class back into the output php files?
- The topic ‘Child navigation no longer returns .current-cat class for active link’ is closed to new replies.