WordPress.org

Ready to get started?Download WordPress

Forums

Adding A Link To Profile.php In Sidebar? (4 posts)

  1. Longhair
    Member
    Posted 6 years ago #

    I want to add a link to point to the profile.php in the Meta menu on the default theme.

    How would I do this?

  2. robmader
    Member
    Posted 6 years ago #

    Go to Dashboard -> Presentation -> Theme Editor and select sidebar from the theme files on the right hand side.

    Click on the code that comes up and then search (CTRL F in IE) for "meta".

    This should show:

    <li><h2>Meta</h2>
    
    <ul>

    Underneath this you can put your link to profile.php.

    <li><a href=profile.php>My profile</a></li>

    Then click "Update file" at the bottom right and test your site.

    Rob

  3. Longhair
    Member
    Posted 6 years ago #

    Thanks for the reply :)

    I have the WP files in a different directory (as decribed HERE).

    So when I click on the new My Profile link, it goes to http://localhost/profile.php and not http://localhost/wp/profile.php.

  4. robmader
    Member
    Posted 6 years ago #

    I'm sure you could just link to:

    li><a href=wp/profile.php>My profile</a></li>

    Rob

Topic Closed

This topic has been closed to new replies.

About this Topic