Remove "Category" text from my Title


Can someone help me? I’m trying to remove the text “category” from the title of my categories pages. It’s a portuguese site, so it does not make sense have category write it down.

I want to remove the Category on the red square or change it to portuguese.



Hello Nickolas,

You should drop this line of code in functions.php file, it should do the trick.

add_filter( 'get_the_archive_title', function ($title) {
    if ( is_category() ) {
            $title = single_cat_title( '', false );
    return $title;

You can access the file from both Dashboard > Appearances > Editor or on the FTP file, but keep in mind to use a child theme for core files modifications otherwise they will get erased when you update the theme.

Best regards