Replacing #current-user nav item with text

Hello everyone.

I need to replace the #current-user (profile picture) item in the navigation with the text “profile”.
What would be the best approach to do that?

I have tried adding text to #current-user a::before

and set the display of the profile photo to none,

but that would also hide the notifications.

the desired result is something like this.

27%20PM

thank you in advance.

1 Like

I suppose you could create an image that contained the text “profile”. And just render that image instead of the avatar.

7 Likes

@blake, thanks for the response.
I am working on a new theme and I don’t think that would be optimal.
Do you think I could do it using the pluginAPI or a widget?