Hey there, just moved across from Oxygen Builder and getting used to the builder.
I am trying to add a user avatar to the nav bar once logged in and can’t seem to find it in dynamic data. Only gives me the option to show a post image or a product image?
Tried the {wp_user_picture} in text box but also not working.
Can someone tell me how to do this please?
Regards
Jeff
afaik this is not possible with a built in solution at the moment, because as you say, the avatar is not available (you can request this as a feature on the idea board) and there is no conditional logic (it is already on the roadmap) to check if a user is logged in.
But you can use a simple php snippet to get this solved. Add a code element where you want to show the avatar, set it to execute and paste this code: