Highlight current Wordpress post
I came across a dilemma recently. I wanted to highlight the Wordpress post that is currently shown in my sidebar menu. I couldn’t find a sound solution for this, so here’s what I came up with. Using JavaScript and jQuery 1.2.3 I was able to highlight the current post in the Wordpress navigation, or sidebar by dynamically adding the class “current” to the anchor tag.
