- January 11, 2018 at 8:00 am #16254
First I must say that I love this plugin!!! it is amazing!!1
I am storing the user profile image in the usermeta table where the key is
I tried to insert the meta_key name to the custom field that contains the image but with no success.
In the right side you can see as the user search result returns the default user image.
Wanted to know is there is a possibility to return this custom meta_value as profile image in user search result.
Attachments:You must be logged in to view attached files.January 11, 2018 at 1:04 pm #16261
Thank you for your kind words!
Well, that option will not help, as it will only work with custom post type meta. However this should be possible with a custom code for sure.
Add this custom code to the functions.php in your theme/child theme directory (copy from line 3 only!). Before editing, please make sure to have a full site back-up just in case!
This may do the trick.Best,
If you like my products, don't forget to rate them on codecanyon :)
January 11, 2018 at 1:37 pm #16262
Eventualy I did it disabeling the user image and and adding the field in the content at general options -> user search -> Advanced title field.
But I think your way is better.
Thank you again!January 11, 2018 at 2:18 pm #16263
The topic ‘usermeta field used as user search profile image’ is closed to new replies.