WordPress.org

Ready to get started?Download WordPress

Forums

Link to logged in user's author page (3 posts)

  1. tydende
    Member
    Posted 5 years ago #

    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!

  2. caleb45
    Member
    Posted 4 years ago #

    I need help trying to link to the logged in user's author page as well.

  3. anglinganalysis
    Member
    Posted 4 years ago #

    also looking for help with linking to the author page

Topic Closed

This topic has been closed to new replies.

About this Topic