Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Title “Archives: Forum” – change to read “Forums”?

@robin-w

Moderator

if you are using code snippets, then JUST the code below (not the “wp-content/theme” etc – do NOT add that) , and use this code as it has the correct apostrophies in it

add_filter( 'get_the_archive_title', 'to_archive_title_remove_prefix' );
function to_archive_title_remove_prefix( $title ) {
if ( is_post_type_archive() ) {
$title = post_type_archive_title( '', false );
}
return $title;
}
Skip to toolbar