I'm currently developing a theme for WordPress, and want to be able to show on posts 'This was posted on DATE in CATEGORY.'
The CATEGORY part is the issue here.
I can display the current category using the code:
<?php the_category(', ') ?>
...but this not only displays this category, but makes the text linkable so the viewer can see more posts in the same category.
Is there any way to show just plain text the category name, without having this as linkable text?