Support » Plugin: Relevanssi - A Better Search » Dokan plugin search

  • Resolved nivsp

    (@spektorniv)


    I am using Dokan Multi Vendor plugin woocommerce and this plugin has a front-end dashboard for vendors. After installing Relevanssi, the search function in this dashboard doesn’t work for the vendor to search in his products.

    After consulting with Dokan support team it is clear that Relevanssi overrides the search functionality on this page and we figured out that we need a way to block Relevanssi from the vendor dashboard.

    Is there a way to do it?

    I would happily share a vendor account and the relevant page privately.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mikko Saari

    (@msaari)

    The easiest solution is to just disable Relevanssi in the admin searches. That should fix the problem. I don’t particularly recommend using Relevanssi in the admin anyway.

    If you want to use Relevanssi for admin searches for some reason, you can probably use the relevanssi_admin_search_ok filter hook to block Relevanssi from this search. The first parameter is a boolean that needs to be set to false when doing a Dokan search, and the second parameter is a WP_Query object that can be used to figure out when you’re doing a Dokan search.

    This is not on admin side. The path to this dashboard is website.com/DASHBOARD and not website.com/WP-ADMIN. Is there a hook to block Relevanssi on user-facing specific page?

    Plugin Author Mikko Saari

    (@msaari)

    Here’s how you can disable Relevanssi on front end: https://www.relevanssi.com/knowledge-base/how-to-disable-relevanssi/

    Ok I understand how to use it now.
    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.