Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › usermeta field used as user search profile image
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 6 years, 3 months ago.
- AuthorPosts
- January 11, 2018 at 8:00 am #16254
Hey,
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 ispie_profile_pic_6
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.
Thanks
DavidAttachments:
You must be logged in to view attached files.January 11, 2018 at 1:04 pm #16261Hi!
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,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
January 11, 2018 at 1:37 pm #16262Amazing!
Thank you!
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 #16263You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
The topic ‘usermeta field used as user search profile image’ is closed to new replies.