• Dear Support

    we are using WPDM Downloadmanager PRO plugin and want to use Relevanssi as search plugin to increase wordpress search function.

    Unfortunatelly both plugins use wordpress core search function. Is there a way to exclude WPDM files and plugin from relevanssi search?

    Thanks in advance for your help Marc

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

    (@msaari)

    Relevanssi doesn’t index WPDM content unless you make it index it. Relevanssi does prevent the default search in order to save resources. In order to remove that, run

    remove_filter('posts_request', 'relevanssi_prevent_default_request', 10, 2 );

    whenever necessary.

    Thread Starter lmobile

    (@lmobile)

    Dear Mikko

    I don`t know if we mean the same –> Indexing WPDM files in search is not the problem. WPDM has a own search field within their archive page. If relevanssi is in use the search field of WPDM which also uses the wp core search function, does not work. It shows nw no results if used.

    WPDM support told me, that there should be a way to exclude WPDM search function from relevanssi search plugin t oavoid conflicts.

    Thanks for your help Marc

    Plugin Author Mikko Saari

    (@msaari)

    Yeah, we mean exactly the same thing. But my instructions were a bit incomplete. When the WPDM search is run, you should add these two lines:

    remove_filter('posts_request', 'relevanssi_prevent_default_request'); 
    remove_filter('the_posts', 'relevanssi_query');

    These will disable Relevanssi and let the WPDM search field use the WP core search.

    I don’t know where exactly you need to put these, but perhaps WPDM support can help you with that?

    Thread Starter lmobile

    (@lmobile)

    Dear Mikko

    thank you for your help. Will contact WPDM support for further assistance.

    Best Regards Marc

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Relevanssi and WPDM Downloadmanager PRO plugin’ is closed to new replies.