Posted on

WP Job Manager

Relevanssi doesn’t work with the WP Job Manager search. Solution is fortunately simple: you can just disable Relevanssi for the WP Job Manager page.

To disable Relevanssi, add this to your theme functions.php:

add_action( 'get_job_listings_init', 'relevanssi_fix_for_wp_job_manager' ); 
function relevanssi_fix_for_wp_job_manager( $args ){ 
    remove_filter('posts_request', 'relevanssi_prevent_default_request'); 
    remove_filter('the_posts', 'relevanssi_query'); 

Thanks to Adam Lenz for this solution.

Leave a Reply

Are you a Relevanssi Premium customer looking for support? Please use the Premium support form.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.