Merge pull request #489 from Foxaii/master
Allow author to control archive penname from dashboard.
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
} elseif (is_author()) {
|
} elseif (is_author()) {
|
||||||
global $post;
|
global $post;
|
||||||
$author_id = $post->post_author;
|
$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 {
|
} else {
|
||||||
single_cat_title();
|
single_cat_title();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user