Substituted 'user_nicename' with 'display_name' to allow the author to change their penname using the "Display name publicly as" from the profile dashboard.

This commit is contained in:
Foxaii
2012-06-21 19:48:12 +02:00
parent 92ae9bcf06
commit 4c9659cbfc

View File

@@ -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();
}