Reply To: We lost the images in the search

#14246
Ernest Marcinko
Ernest Marcinko
Keymaster

In the meantime I did some investigation on the plugin, and I might have found the bug here. It happens when the image URLs are not sourcing from the main domain.

You will have to remove 3 lines from one of the plugin files:
– Open up: wp-content\plugins\ajax-search-pro\includes\classes\search\class-asp-search-cpt.php
– Scroll to lines 1685 – 1688, which should be this:

  if ( is_multisite() ) {
   $im = str_replace( home_url(), network_home_url(), $im );
  }

– Remove these 3 lines from the code.
– Save the file.

After that, the images should hopefully start showing up. Let me know if you need any help with this. If this solution works, I will incorporate it as a permanent fix in the next release of course.

Best,
Ernest Marcinko

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