And that was exactly what I needed. Couldn’t see the wood from the trees. Thanks again Stephen you are a star.
Cheers,
Neil
Thanks Stephen. All your feedback to myself and others on the forum have been a great help.
Cheers.
Got it sorted. Amended the archive template so that it displayed the date only on event date change (after all it’s already sorted by date), then got the category from the term list and stripped the tags from it.
//Events have their own 'event-category' taxonomy. Get list of categories this event is in.
$category = strip_tags( get_the_term_list( $wp_query->post->ID, 'event-category', '', ', ', '' ) );
I can now append the category to the css class to style the line appropriately