# Remove "Category" text from my Title

**URL:** <https://colorlibsupport.com/t/remove-category-text-from-my-title/12774>\
**Category:** Illdy\
**Created:** [October 19, 2016, 12:56am UTC](https://colorlibsupport.com/t/remove-category-text-from-my-title/12774 "2016-10-19T00:56:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nickolaslago](https://colorlibsupport.com/user_avatar/colorlibsupport.com/nickolaslago/32/3087_2.png) [@nickolaslago](https://colorlibsupport.com/u/nickolaslago)\
**Post date:** [October 19, 2016, 12:56am UTC](https://colorlibsupport.com/t/remove-category-text-from-my-title/12774/1 "2016-10-19T00:56:51Z")

</div>

Hello!

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.

Thanks!

Nickolas

---

<div class="post-metadata">

**Author:** ![colorlibsupport](https://colorlibsupport.com/user_avatar/colorlibsupport.com/colorlibsupport/32/1494_2.png) [@colorlibsupport](https://colorlibsupport.com/u/colorlibsupport)\
**Post date:** [October 19, 2016, 7:42pm UTC](https://colorlibsupport.com/t/remove-category-text-from-my-title/12774/2 "2016-10-19T19:42:08Z")

</div>

Hello Nickolas,

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

```auto
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
