Changing the Admin Bar avatar (4 posts)

  1. sim.
    Posted 4 years ago #

    I'd like to display my site logo in the admin bar for all users instead of their avatar, but haven't been able to figure it out; does anyone have any suggestions?

  2. You can add links via http://sumtips.com/2011/03/customize-wordpress-admin-bar.html

    So examine the code and change it as you want.

    This is NOT multiSite specific though, so I'm moving it to where more people will see it :D

  3. sim.
    Posted 4 years ago #

    Thanks for your response :)

    I've already successfully customized the links in the bar... the problem I'm running into is the code in the link you provided doesn't reference the avatar's source jpg and I'm not sure how to get to it. All I want to do is make it point to a local version of my logo which is sitting on my server...

    Or, I'd even be happy with adding a new menu category that just displays my logo before the avatar. Thing is, as far as I can tell any new link I create just displays its title as text; there's no option for an image.

  4. I think it's a function call that pulls in the users Gravatar, so you may have to view source and inspect elements and google seriously :/ it doesn't look like anyone's coded it in yet.

Topic Closed

This topic has been closed to new replies.

About this Topic