Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

  • Profile photo of ignitionmedia
    ignitionmedia
    Member

    @ignitionmedia

    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)
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