Change Wordpress Archive Title
In this post we are going to change the default WordPress title for the Archive page. p
1. Adjust as needed and add the following code to your theme's functions.php file.
function change_archive_title($title, $original_title, $prefix) {
if (is_archive()) {
// Change 'Monthly Archives: %s' to what you want the title to say
$title = sprintf( __( 'Monthly Archives: %s', 'textdomain' ), $original_title );
}
return $title;
}
add_filter( 'get_the_archive_title', 'change_archive_title', 10, 3 );
THANKS FOR READING
Thank you for reading Change Wordpress Archive Title. I hope you enjoyed it. You can give me feedback, say hi or yell at me on twitter.com/beuinteractive.