Hi there Steven,
Thanks for reaching out to us! I’ll help you here…
Just paste this snippet in your theme’s (or child theme’s) functions.php file:
/*
* Alters event's category archive title
*/
function tribe_alter_event_archive_titles ( $title, $depth ) {
if ( is_tax( Tribe__Events__Main::TAXONOMY ) && $depth ) {
$cat = get_queried_object();
if ( $cat->parent > 0 ) {
$subcat = $cat;
$cat = get_term( $cat->parent, Tribe__Events__Main::TAXONOMY );
}
$title = 'Upcoming ' . $cat->name;
if ( isset( $subcat ) ) {
$title .= ' › ' . $subcat->name;
}
$title .= '';
}
return $title;
}
add_filter( 'tribe_get_events_title', 'tribe_alter_event_archive_titles', 11, 2 );
I’d also like to be able to have a custom image on category and subcategory pages, so if the auction is for homes, there is an image for the page related to home auctions.
There are a couple of plugins to attach images to taxonomies (like Event Categories): Categories images, Category Featured Images, etc.
Please give that a try and let me know about it,
Best,
Nico