If I installed a new WordPress with twentysixteen theme and went to uncategorized page, I will see at the title something like
Category: Uncategorized
how can I remove the category: word from pages titles?
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Sign up to join this communityFor achieve this title you need to extend get_the_archive_title . here is how or check the official doc
function wpse64458_get_the_archive_title($title){
if ( is_category() ) {
$title = single_cat_title( '', false );
} elseif ( is_tag() ) {
$title = single_tag_title( '', false );
}
return $title;
}
add_filter( 'get_the_archive_title', 'wpse64458_get_the_archive_title');