I need to get the text value of a category, but when I use the standard <?php the_category(''); ?> it returns categories as links, wrapped in <li>
Is there any way of just returning the text value of a category, without linking to it or wrapping it in a list?
Thanks!