AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Closed] Add Edit to the user avatar in the widget

2 Posts
2 Users
0 Reactions
1,189 Views
Posts: 1
 sir1
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@sir1)
New Member
Joined: 6 years ago
[#14898]

We have a widget to display user profiles. I want to add an edit word like the following demo to the photo. Please help according to the code below. Thanks
demo: 
code:

<div class="vip-widget user"> <div class="top"> <a target="_blank" href="https://fa.gravatar.com/"> <?php echo get_avatar(wp_get_current_user()->ID, '160'); ?> </a> <div class="name"> <?php echo $c_user->display_name ?> </div> </div>

 


1 Reply
Alvina
Posts: 1857
Moderator
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@alvina)
Member
Joined: 7 years ago

Hi @sir1,

I've just asked our developers about it and currently, I'm waiting for the response from them. I'll update the topic once I get some response from them.


Share: