I have added a author template in the hopes of allowing all registered users regardless of role a profile page on the site. Here is the profile page of one of the admin level users: http://www.kixandthecity.com/author/maze
FYI, here is the code that I have used to do this (in author.php template):
<?php if(get_query_var('author_name')) : $curauth = get_userdatabylogin(get_query_var('author_name')); else : $curauth = get_userdata(get_query_var('author')); endif; ?> <h3><?php echo $curauth->nickname; ?></h3> <h4>Website:</h4> <p><a href="<?php echo $curauth->user_url; ?>"><?php echo $curauth->user_url; ?></a></p> <h4>About <?php echo $curauth->nickname; ?></h4> <p><?php echo $curauth->user_description; ?></p> <h4>Other Users:</h4> <ul> <?php wp_list_authors('hide_empty=0&exclude_admin=0'); ?> </ul>
I added the wp_list_authors just for testing, this will be removed once (if?) I can get this to work properly.
As you can see from the list of users, only 2 (both admin level) have links to their profiles. I have tried substituting the username in the url but it just comes up with a 404 page.
Is there any way that I can override WordPress' restriction limiting profile pages to those of author level or above?
And a couple of side questions:
Why does WordPress allow subscribers to fill out the profile at all (as well as see dashboard, etc.) if their profile can never be seen?
Is the only benefit of registering that you don't have to fill out comment fields (which is also done with cookies for those who aren't registered so its not that much of a benefit)?
Thanks for your help.