Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Add ”Edit Profile” link to custom template header

  • @ignitionmedia

    Member

    hi there, I have a custom theme which in the header I want to be able to display a “Edit Profile” Link when a member is logged in…
    Is there a tag for this?? How would I do it..

    
    <?php
    global $user_ID, $user_identity, $userdata;
    get_currentuserinfo();
    
    if ( $user_ID ) : ?>
    [insert link here]
    
    <a href="/login/" id="login"></a>
    <a href="/register/" id="signup"></a>
    
Viewing 3 replies - 1 through 3 (of 3 total)
  • @ignitionmedia

    Member

    I ended up just using <a href=&quot;/members//profile/edit/">Edit Profile</a>
    Is there a better way?

    @naijaping

    Participant

    Hi, this is what am using on my website. : <a href=&quot;profile/edit">Edit Profile Info</a>

    @ignitionmedia

    Member

    @naijaping, you legend. that is exactly what im after, thanks a mill

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Add ”Edit Profile” link to custom template header’ is closed to new replies.
Skip to toolbar