Skip to content
WordPress

Change ‘Archives’ Text In WordPress

Here's how to change the Archives text on WordPress to your own (in my case, changing it to Posts).

Within the customize section of WordPress, you can set a specific page to be your blog page. This will show a list of your posts, known as Archives. Depending on your theme, this will display differently; in my case, the theme is styled to display my posts in a grid format.

However, the text ‘Archives’ doesn’t fit the page, and I would prefer it to show ‘Posts’. Here’s how to do it:

  1. Navigate to wordpress_directory/wp-includes
  2. Open general-template.php in Notepad (I recommend Notepad++)
  3. Ctrl+F the following: __( ‘Archives’ );
  4. Change Archives to your desired text

The final code should look something like this:

function get_the_archive_title() {
	$title  = __( 'Posts' );

Ideally you should do this with a child theme rather than the parent template because when the theme is updated these changes will be lost.