Page 1 of 1

How to add words next to the sidebar username, e.g. "Hi, username"?

Posted: Wed Jun 19, 2024 1:23 pm
by lissa

hi,
I want to add words next to the user login image, "Hi User blah blah" with the following code,

if (IsLoggedIn()){
 echo "Hi ".CurrentUserName();
 }

but I'm confused about where to put it?
Can anyone help me to add words before the username?


Re: add the words next to the sidebar username "Hi, username"

Posted: Wed Jun 19, 2024 2:17 pm
by arbei

Re: How to add words next to the sidebar username, e.g. "Hi, username"?

Posted: Wed Jun 19, 2024 5:03 pm
by lissa

solved, thank you