Title: Plugin not compatible with Relevanssi
Last modified: February 18, 2019

---

# Plugin not compatible with Relevanssi

 *  [MikaelG](https://wordpress.org/support/users/armbreaker/)
 * (@armbreaker)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/plugin-not-compatible-with-relevanssi/)
 * Hi.
 * I just installed your plugin and noticed that the search doesn’t work in regards
   of showing search results from product titles. It only shows tags and categories(
   if those are enabled in settings) or else the search results is empty no matter
   which search term is used.
    I saw a thread that mentioned incompatibility with
   Relevanssi. So I tried by deactivating Relevanssi and your plugin started working
   as intended. Search results is showing product titles.
 * In the old thread you stated that you would add add compatibility with Relevanssi
   in upcoming version. Did you add compatibility and this a new bug due to changes
   with Relevanssi? Or didn’t you add support for some reason?
 * And, big thanks for this plugin, really nice work. Hope you can fix this issue,
   so I can keep on using it.
 * Best regards,
    Mikael

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/plugin-not-compatible-with-relevanssi/#post-11216725)
 * I think you’d get pretty close if you modify `/includes/Engines/WordPressNative/
   Search.php` and change this:
 * `$products = get_posts( $args );`
 * to this:
 *     ```
       if ( ! function_exists( 'relevanssi_do_query' ) ) {
           $products = get_posts( $args );
       } else {
           $wp_query = new WP_Query();
           $wp_query->parse_query( $args );
           relevanssi_do_query( $wp_query );
           $products = $wp_query->posts;
       }
       ```
   
 *  Thread Starter [MikaelG](https://wordpress.org/support/users/armbreaker/)
 * (@armbreaker)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/plugin-not-compatible-with-relevanssi/#post-11217482)
 * Is that in your plugin or this plugin?
    So which plugin is causing this. And 
   which one needs to change the code, as I can’t be alone having both this awesome
   plugins installed 🙂
 *  [plmojica](https://wordpress.org/support/users/plmojica/)
 * (@plmojica)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-compatible-with-relevanssi/#post-11733877)
 * Hi [@armbreaker](https://wordpress.org/support/users/armbreaker/),
 * I am experiencing the same issue on my end and was wondering if [@msaari](https://wordpress.org/support/users/msaari/)
   fix worked or not for you?
 *  [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-compatible-with-relevanssi/#post-11734599)
 * That file is in Ajax Search for WooCommerce, not in Relevanssi.
 *  [plmojica](https://wordpress.org/support/users/plmojica/)
 * (@plmojica)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-compatible-with-relevanssi/#post-11736523)
 * Thanks [@msaari](https://wordpress.org/support/users/msaari/) We’ll try it out
   and will give an update.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Plugin not compatible with Relevanssi’ is closed to new replies.

 * ![](https://ps.w.org/ajax-search-for-woocommerce/assets/icon-256x256.png?rev=
   2883754)
 * [FiboSearch - Ajax Search for WooCommerce](https://wordpress.org/plugins/ajax-search-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajax-search-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajax-search-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/ajax-search-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajax-search-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajax-search-for-woocommerce/reviews/)

## Tags

 * [compatibility](https://wordpress.org/support/topic-tag/compatibility/)
 * [compatible](https://wordpress.org/support/topic-tag/compatible/)

 * 5 replies
 * 3 participants
 * Last reply from: [plmojica](https://wordpress.org/support/users/plmojica/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-compatible-with-relevanssi/#post-11736523)
 * Status: not resolved