Reply To: Title “Archives: Forum” – change to read “Forums”?
Hi Robin, so the guys at Astra Forum suggested putting this into the Astra Child theme’s functions.php bit in Appearance – Theme Editor:
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;
}
I have no idea how or why it worked, but it did!!
Thank you for troubleshooting this with me 🙂
Maybe if anyone has a similar issue in the future they could also try this fix?
Kind Regards,
Tim