Multisite search results

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #32691
    laluna
    laluna
    Participant

    Hi team. We have just purchased and installed your ajax search pro plugin in a multisite wordpress. Everything looks good when searching in a site for products of the same site. But when we search a product of a site, like a Gaming item (e.g. “gaming cronos”), from another site, like Technology site (https://talius.tech/tecnologia/) the search results do not show the featured images. All of these sites use Avada theme.
    Do you kow what the problem is?
    Thanks in advance,
    Pablo from La Luna

    #32706
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    The problem is, that wordpress does not allow fetching images from across multisite installations, without switching blogs. Unfortunately, there is no hook to properly bypass that without making major modifications to the core theme codes.

    You can however try one of the constants from the knowledge base, that may help:

    /**
     * When defined, the plugin tries to fix the image sources on the search results
     * page on WP multisite environments.
     * WARNING: Make sure to test the results page layout after enabling, this feature
     * can be buggy.
     **/
    define('ASP_MULTISITE_IMAGE_FIX', true);

    There is a very slim chance this will work at all or properly, but it is worth a try.

    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.