Override Archive Title
You can insert the following snippet into your theme’s functions.php file to remove the taxonomy indicators that show up before the term title on the MyBookTable taxonomy archive page. The following example removes the “Genre:” indicator on genre archive pages. You can make this work for any of MyBookTable’s taxonomies by replacing ‘mbt_genre’ with the appropriate taxonomy slug (Authors: ‘mbt_author’, Series: ‘mbt_series’, Tags: ‘mbt_tag’).
function mytheme_override_archive_title($output) {
if(is_tax(‘mbt_genre’)) {
$output = get_queried_object()->name;
}
return $output;
}
add_filter(‘mbt_get_book_archive_title’, ‘mytheme_override_archive_title’);