hey guys, i simply want to have a link to the category my current post fits in.
currently I'm using:
<?php $category = get_the_category(); echo "<span class='catname'>" . $category->cat_name . "</span>"; ?>
however, this is just the name of the category. i need a link to the category archive.
is there a template_tag to use?