Displaying Category Names
-
I want to display the category name at the bottom of a post. I don’t want it to be a link and I don’t want it to be a list (all my posts only have one category), I just want the name displayed. At the moment I’m using
<?php the_category() ?>
but that displays it as a link and also sticks it in an unordered list.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Displaying Category Names’ is closed to new replies.