Created
April 22, 2022 08:21
-
-
Save bradleysa/532925edce4b65f841d76e1e18993d6b to your computer and use it in GitHub Desktop.
Remove "Archives:"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter('get_the_archive_title', function ($title) { | |
return preg_replace('/^\w+: /', '', $title); | |
}); | |
/** https://wordpress.stackexchange.com/questions/175884/how-to-customize-the-archive-title **/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment