The Author Page
-
By using the “wp_list_authors” tag in my sidebar, I get a list of users, and if I click an author in this list, I get a page with all his/her posts.
The list itself is easy to make. But, if I want to have a “More of this author”-link after the name of the author in a post, how do I do this? I have tried with the “the_author_posts_link”, but then I don’t get the possibility to write a custom text like “More of this author..”, only the name of the author itself.
Now, about the “author.php”, what is actually the point? The “wp_list_authors” works well even without the “author.php”. Is this page only for use when you want a more customized page with more info about the authors?
And finally, where in the “author.php” is the string shown under actually supposed to be..?
<?php
if(get_query_var(‘author_name’)) :
$curauth = get_userdatabylogin(get_query_var(‘author_name’));
else :
$curauth = get_userdata(get_query_var(‘author’));
endif;
?>
- The topic ‘The Author Page’ is closed to new replies.