Skip to:
Content
Pages
Categories
Search
Top
Bottom

Add a welcome message to admin bar instead of website name

  • When a user is logged in, what I would like to happen instead of the site’s name, is a welcome message, such as “welcome %username” or howdy %%” Like this:

Viewing 14 replies - 1 through 14 (of 14 total)
Avatar of Hugo
Hugo
Moderator

@hnla

@espeon
If you had actually read that codex page in the second link without dismissing it as not what you wanted (what did you want? I suspect what has been offered above!) then you would have noted this line:
We’re going to modify the ‘My Blogs’ menu without changing the core code

Operative words there are “without changing core code”

When you come to a tech forum that offers help you need to bear in mind that the prerequisite to gaining that help is that you demonstrate a willingness to get involved and to be seen to help your self as much as possible; please do not think that on a voluntary help forum that there is any obligation to help people it’s a co-operative process, and attitude of any sorts is never taken well! :)

You now have a function that looks on the surface to do what you require, and which you now test by adding to your functions file in your theme.

it’s important though that because some code has been provided that this isn’t perceived as the norm or that the forum is a coding service – the provision of code in this manner is up to each and every member to decide if they wish to provide and often it will be but it mustn’t be taken for granted.

@gunju2221, Very nice!!!! You even added the nice “welcome guest” when logged out! :D Thanks a bunch!

@hnla as i read like the first 2 sentences of ur post it sounded like a duck dying in my head. Go and be a therapist somewhere else please :D

Avatar of Hugo
Hugo
Moderator

@hnla

@espeon I’m a forum moderator, what forums have you been frequenting where it’s acceptable to pass a comment like that to regular members let alone a site moderator. Passing comments like that get noticed and you will find that there will an unwillingness to help in future so I would advise against further comments like that as they will not help your case regardless of what may have prompted them.

All said in a very friendly advisory manner my young friend :)

Topic locked.

@espeon Play nice.

Viewing 14 replies - 1 through 14 (of 14 total)

You must be logged in to reply to this topic.