# Remove "Category:" and "Tag:" From Archive Titles

> Removes the prefix such as "Category:", "Tag:" or "Author:" from archive page titles, leaving only the term or name.

- Type: PHP
- Runs: Run everywhere
- Category: [Archives](https://wpide.com/library/category/archive/)
- Tags: archive, title, category
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/remove-archive-title-prefix/

## Code

```php
add_filter( 'get_the_archive_title_prefix', '__return_empty_string' );
```

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Remove "Category:" and "Tag:" From Archive Titles" in its snippet library and add it in one click; or create a new PHP snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
