Home › Forums › WoodMart support forum › Displaying User Avatar in the Menu
Displaying User Avatar in the Menu
- This topic has 7 replies, 2 voices, and was last updated 2 months, 3 weeks ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
December 16, 2024 at 2:05 pm #622827
AmitParticipantHello,
I have a plugin that allows users to set their avatar in the profile settings. However, the avatar does not appear in the menu next to their name; instead, an icon is displayed.
Is it possible to show the user’s avatar in the menu using the plugin settings or a custom functions.php snippet? If so, could you please provide guidance or a code example to achieve this?
Thank you for your help!
Best regards,
AmitAttachments:
You must be logged in to view attached files.December 16, 2024 at 6:59 pm #622957
Aizaz Imtiaz AwanKeymasterHello,
Please check how it works with the default WordPress theme and Woocommerce Storefront theme just to check whether the issue is with our theme or not. Also, please check the site with our theme but only with the theme default plugins activate, and deactivate all the 3rd party plugins from the site.
If it works fine with the default WordPress theme then provide the admin panel login details of the website to check it myself and help you out accordingly.
Best Regards
December 16, 2024 at 10:27 pm #622991
AmitParticipantHello, I believe there might have been a misunderstanding. My goal is to display the user’s avatar in the menu navigation. However, in the header builder, I noticed there are only two options: ‘icon only’ and ‘icon with text.’ Could you please advise on how I can display the actual user avatar instead?
December 17, 2024 at 2:44 pm #623202
Aizaz Imtiaz AwanKeymasterHello,
Sorry but there is no option in Theme Settings available for that.
It requires customizations and this is beyond our limitations and support policy.
Or you can find and use any 3rd party plugin for this.
Regards.
Xtemos StudiosDecember 17, 2024 at 4:45 pm #623254
AmitParticipantHello,
Isn’t there a way to replace the avatar icon with the actual image?
Perhaps a hook or something similar?
For example, like the solution you provided here for the account section:
https://xtemos.com/forums/topic/how-to-add-a-personal-avatar/Thanks
December 18, 2024 at 12:51 pm #623508
Aizaz Imtiaz AwanKeymasterHello,
That code I have provided to the other customer only works for the My Account page of Woocommerce, not for the header icon.
The header icon requires customizations, which is beyond our limitations and support policy.
Best Regards.
December 18, 2024 at 2:35 pm #623545
AmitParticipantPlease include this in your feature request to replace the icon with a actual user avatar.
ThanksDecember 18, 2024 at 6:00 pm #623654
Aizaz Imtiaz AwanKeymasterHello,
For the betterment of the Theme you can post your suggestions/requests related to Theme on the following Feature Request thread:
https://xtemos.com/forums/topic/features-requests-2/So, if the Development Department finds it fits with the Theme environment then surely they will look through it.
Thanks for your understanding.
Have a great day.
Topic Closed.
Best Regards. -
AuthorPosts
The topic ‘Displaying User Avatar in the Menu’ is closed to new replies.
- You must be logged in to create new topics. Login / Register