I'm using the sidebar to recognize when a user has logged in, and I'd like to have a link that goes to the logged in user's author page (where I have a form for the user to add a new post with tdo mini forms).
The code to recognize if the person is logged in is pretty standard and starts ...
<?php if (is_user_logged_in()) : ?>
<?php global $user_identity;get_currentuserinfo();?>
<p>Welcome back <?php echo $user_identity;?></p>
" title="Log out of this account">Log out
<?php else :?>
Does anyone know how to create a link to that user's author page?