i know if you are on a category page..wp automatically ads current-cat
class to the child of the parent category you are on.
like
`<li class="cat-item cat-item-701 current-cat"><a href="http://goog.com/cat/subcat">Free Stuff</a>
</li>`
how can i do this for a singlepost page.
I have the_category();
in the single.php file and it shows both parent and child category.
I want to add a current-cat
class to the child cat when i am on the single post page.
thanks in advance hopefully i did not confuse you.