This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Multisite: cross site results different style

Home Forums Bug reporting, Questions & Suggestions Ajax Search Pro for WordPress Multisite: cross site results different style

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #19780
    peterboehmpeterboehm
    Participant

    Hi,

    sorry, I don’t know if this has been posted before.

    I’m running Ajax Search Pro on a Multisite network with different Domains. The possibility to share results is really great. But for GDPR compliance I would love to see an option for opening links from other network-sites in a new tab. For example if I’m on domain1.com results from domain2.com should open in a new tab. The ones from domain1.com should open in the same tab. Also the possibility to style external results different would be great. With an icon or something.

    As an alternative way an optional Message Site oder Popup would also provide more GDPR safety. So if I’d click on a result link from an external domain there could be a message displayed like “you are leaving domain1.com to view results from domain2.com. Proceed [accept] [decline]”.

    #19801
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    I am not sure if we can integrate such a solution, but there might be a way to achieve this with a custom code.
    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 will convert the link targets to a new window in the results, whenever it detects, it is from a different host/domain.

    #19821
    peterboehmpeterboehm
    Participant

    the code did it! thank you.

    #19823
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Multisite: cross site results different style’ is closed to new replies.