> For the complete documentation index, see [llms.txt](https://docs.wpjobopenings.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wpjobopenings.com/developers/code-snippets/archive-page-title.md).

# Archive page title

Use the below code snippet to change the archive title.

```php
function awsm_jobs_custom_archive_title( $title, $post_type ) {
    if ( $post_type === 'awsm_job_openings' ) {
        $title = 'Careers';
    }
    return $title;
}
add_filter( 'post_type_archive_title', 'awsm_jobs_custom_archive_title', 10, 2 ); 
```

{% hint style="info" %}
[**How to Easily Add Custom Code to Your WordPress Websites**](https://wp-content.co/add-custom-code-to-your-wordpress-websites/)
{% endhint %}
