I have links to certain archive pages which list posts from two categories using WP urls, for example:
I am trying to print some plain text breadcrumbs in
category.php to display which categories are present – for example:
Category A / Category B
However I’ve found that
single_cat_title(); only displays the first category and I’m struggling to figure out how to display the second category (Category B in this instance).
Any help is greatly appreciated!
Read more here: Get all categories on archive based on URL?