From 4c9659cbfcb4af7605c13eb51408491e77656d16 Mon Sep 17 00:00:00 2001 From: Foxaii Date: Thu, 21 Jun 2012 19:48:12 +0200 Subject: [PATCH] Substituted 'user_nicename' with 'display_name' to allow the author to change their penname using the "Display name publicly as" from the profile dashboard. --- archive.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archive.php b/archive.php index ccbc41e..ff21e72 100644 --- a/archive.php +++ b/archive.php @@ -20,7 +20,7 @@ } elseif (is_author()) { global $post; $author_id = $post->post_author; - printf(__('Author Archives: %s', 'roots'), get_the_author_meta('user_nicename', $author_id)); + printf(__('Author Archives: %s', 'roots'), get_the_author_meta('display_name', $author_id)); } else { single_cat_title(); }