On my single.php page I want to have the tab of the article's corresponding category highlighted.
For example: http://embeddedcomputingsystems.com/
If the article is from "Boards" (the second tab next to "Home") then I'd like the Boards tab to be in the active state. I'm am guessing I'd use some sort of php if statement, like if category=3 then class="active" but am unsure of how to write this. I know nothing about php!
Can someone please help?