For custom taxonomy terms, use single_term_title
Displays or returns the term title for the current page.
Alternatively you can make use of echo get_queried_object()->name
For custom taxonomy terms, use single_term_title
Displays or returns the term title for the current page.
Alternatively you can make use of echo get_queried_object()->name