I'm trying to collect the category name with the following code
<a href="<?php get_cat_name( $cat_id ); ?>"></a>
But I'm not having much success .. another thing is, I have a 4 categories but the code needs to know if you are using category a or b within 4, if you have no category that is either A or B does not show nothing .. if anyone can help me.