Hey guys,
Currently going through all of this code and am at a complete loss. I’ve used the code that deWINTER posted up so that I can put a “current” class on my posts which I’m using as sidebar navigation.
When I plunk the code into my sidebar.php it populates with a list of my category + posts that go under it… however the “current” class never gets put in when I’m on that page/post.
However if I put the code in my header.php, the code works! I threw in a quick “li.current” into my css and it styled the page/post as it should!
Any thoughts on what might be happening?