How can i display a image in the member directory
-
Hi everyone,
i’m currently trying to display an image uploaded over the registration form of a new user on the member directory site. I found this article https://docs.ultimatemember.com/article/1586-add-an-image-field-into-the-profile-card-in-the-member-directory, but it’s not working for me…After adding the github snippet into functions.php, i changed the “$key” to “custom_pic” and added the “<# if ( typeof user.custom_pic !== ‘undefined’ ) { #>
user.custom_pic.html
<# } #>” code into member-list.php. However i never saw any difference on the member directory site, probably im adding the “<# if ( typeof user.custom_pic !== ‘undefined’ ) { #>user.custom_pic.html
<# } #>” in the wrong part of the member-list.php… i wasn’t able to found a variable with name “user” there, only something like “$no_users” or “$showuser_info”, where i put it.
Thanks for the help in advance
- The topic ‘How can i display a image in the member directory’ is closed to new replies.