Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Outputting custom field in search results? › Reply To: Outputting custom field in search results?
Hi Ernest,
I have received back a message from my developer
“Unfortunately their suggestion won’t work. The logo is stored as an attachment to the user profile. So the image in the user profile is stored in the users database table as just an ID. The location of the image is stored in another database table. So to display the logo, we have to write some code that looks up the ID of the image in the users table and then searches the other table (using that ID as the reference) to find the URL of the image itself.
Their suggestion would only work for fields stored entirely in the users table.”
Do you know what sort of code could help pull this attachment in the profile?
Any help would be greatly appreciated
Thank you
(This is the main reason why I have purchased the support again, as we’d really like to get it to work)