Replace sign in name after logging in - by d4r1uzzo

This topic has 4 replies, 3 voices, and was last updated 5 years, 7 months ago ago by Rose Tyler

  • Avatar: d4r1uzzo
    d4r1uzzo
    Participant
    August 3, 2018 at 09:38

    Hello,
    you can change in the top bar where the “sign in” of the template is located (http://prntscr.com/ke5qki) the wording once logged in from “my account” to “hello username” (http: //prntscr.com/ke5rd9 replace the wording indicated in black with the one highlighted in red)

    Greetings,
    Dario

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 4, 2018 at 09:55

    Hello,

    1) Open xstore/framework/theme-functions.php and find etheme_sign_link function. Copy function into child theme functions.php.
    2) Add $user = wp_get_current_user(); as mentioned on the screenshot http://prntscr.com/kek9e8
    Change title to 'title' => esc_html__( 'Hello, ', 'xstore' ) . $user->user_nicename, as mentioned on the screenshot http://prntscr.com/kek9e8

    Regards

    Avatar: d4r1uzzo
    d4r1uzzo
    Participant
    August 20, 2018 at 10:45

    All ok, thank you very much!

    Dario

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 20, 2018 at 12:24

    Hello,

    You’re welcome!

    Regards

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

The issue related to '‘Replace sign in name after logging in’' has been successfully resolved, and the topic is now closed for further responses

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