To remove “Category:” from category title on WordPress Just follow below steps:
- Open functions.php file in your wordpress theme
- Add below code at the end of the file
function prefix_category_title( $title ) { if ( is_category() ) { $title = single_cat_title( '', false ); } return $title; } add_filter( 'get_the_archive_title', 'prefix_category_title' );
- Save the file
- Open your Category page now