on my global single.php template file I'm displaying the category of the post as part of the title.
It looks like this:
<?php $category = get_the_category(); echo ' <a href="' . get_category_link($category->cat_ID) . '" title="Alle Artikel in der Kategorie ' . $category->name . '">' . $category->name . ' →</a>';?>
Since All in One Calendar is also using the single.php file for displaying a single event, I would like to have it show the event category's name and URL. Is there a way to do this?
Right now, this part just stays empty.
Many thanks in advance! :)