This topic has 2 replies, 2 voices, and was last updated 8 years, 5 months ago ago by Jack Richardson
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"> </a>
<?php elseif(etheme_get_option('top_links')): ?>
<a href="#" data-toggle="modal" data-target="#loginModal" class="my-account-link hidden-tablet hidden-desktop"> </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.
Hello,
You need edit the file wp-content/themes/legenda/framework/theme-functions.php in line 1224.
Best regards,
Jack Richardson.
You must be logged in to reply to this topic.Log in/Sign up