Remove Category Prefix In WordPress Category Title

Removing the Category: prefix in WordPress category titles is possible. It may just be that you need to add in this simple function to filter the title.

Adding the function to remove the "Category:" prefix

To start, you’ll need to access your WordPress theme’s functions.php file. You can edit this through your WordPress Theme Editor.

  1. Go to AppearanceĀ > Editor > Theme Functions from your WordPress Dashboard;
  2. Copy and paste the function below into this 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' );