lee990 (@lee990)

Forum Replies Created

Viewing 1 replies (of 1 total)
  • In reply to: Menu link to Profile

    @lee990

    Participant

    hi I used a plug in called theme my log in by amending the code it only displays when the user is logged in. I don’t know if it works with other login modules or the same theory applies, but only took 10mins to do and I know nothing about php.

    Good luck

    and the added the code as suggested by Robin W on this thread

    <p>edit” >Amend Profile/Change password</p>

    I edited the file in theme my login, wp-content/plugins/theme-my-login/templates/user-panel.php
    and added the code in, so the whole file looks like;

    <?php

    /*

    If you would like to edit this file, copy it to your current theme’s directory and edit it there.

    Theme My Login will always look in your theme’s directory first, before using this default template.

    */

    ?>

    <div class=”login” id=”theme-my-login<?php $template->the_instance(); ?>”>

    <?php if ( $template->options[‘show_gravatar’] ) : ?>

    <div class=”tml-user-avatar”><?php $template->the_user_avatar(); ?></div>
    <p></BR>edit” >Amend Profile / Change password</p>

    <?php endif; ?>

    <?php $template->the_user_links(); ?>

    <?php do_action( ‘tml_user_panel’ ); ?>

    </div>

    it looks really good, well I think so.

Viewing 1 replies (of 1 total)