Trying to locate where "My Account" text is made in the header top bar

This topic has 2 replies, 2 voices, and was last updated 8 years, 5 months ago ago by Jack Richardson

  • Avatar: vancreative
    vancreative
    Participant
    November 12, 2015 at 23:55

    As the title explains, I’m trying to update the “My Account” text in the top bar when a user is logged in. I need this to display the user account of whoever is logged in to give a more personal touch (like Amazon, etc)

    I see this in header.php

    <?php if (is_user_logged_in() && etheme_get_option('top_links')): ?>
    							<a href="<?php echo get_permalink( get_option('woocommerce_myaccount_page_id') ); ?>" class="my-account-link hidden-desktop">&nbsp;</a>
    						<?php elseif(etheme_get_option('top_links')): ?>
    							<a href="#" data-toggle="modal" data-target="#loginModal" class="my-account-link hidden-tablet hidden-desktop">&nbsp;</a>
    						<?php endif ?>

    But it just shows   ? Where is this being generated so I can edit it. I should mention I’ve set my site up with a child theme.

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    November 13, 2015 at 09:58

    Hello,

    You need edit the file wp-content/themes/legenda/framework/theme-functions.php in line 1224.

    Best regards,
    Jack Richardson.

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.