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.
1 answers
1
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.
- Go to AppearanceĀ > Editor > Theme Functions from your WordPress Dashboard;
- 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' );
— Support WizardAnswer 1