Archive page title

Use the below code snippet to change the archive title.

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 ); 

Last updated