Display images as result of search

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Display images as result of search

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 5 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9400
    montis777
    montis777
    Participant

    Hi,

    On my site images doesn’t appear as results. Searching is by taxonomy – “Store”. It is a part of woocommerce, but created by theme author. I don’t know what information you need, but in the WordPress dashboard it is located Products/Store.

    Regards

    #9404
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    Thank you very much for the proper details, I was able to find a solution quickly, which I applied to your functions.php file in the active theme directory. The image was stored in the “brandimage” woocommerce term meta field.

    For future reference, this is the code I come up with and solved the problem:

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.