• Hello,

    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?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Link to logged in user’s author page’ is closed to new replies.