Skip to main contentSkip to footer

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

To disable Relevanssi, add this to your site:

add_action( 'get_job_listings_init', 'relevanssi_fix_for_wp_job_manager' ); 

function relevanssi_fix_for_wp_job_manager(){ 
    remove_filter( 'posts_request', 'relevanssi_prevent_default_request' ); 
    remove_filter( 'the_posts', 'relevanssi_query' ); 
}

Thanks to Adam Lenz for this solution.

Your account

Not logged in. Log in to see your license details.

Search

Popular Resources

Brizy Pro
Brizy is another WordPress site builder and as usual, it too has hard-coded queries that don’t play nice with Relevanssi.…
Indexing the post ID
Are post ID’s searchable in Relevanssi? No. Relevanssi does understand the WP_Query p parameter to restrict the search by post…
Gutenberg Full Site Editing

There’s a compatibility issue between Relevanssi and Gutenberg Full Site Editing. No results are found when you create a Query Loop to display the search results with Relevanssi enabled. The blank results happen because the post template block doesn’t use the Relevanssi results but instead uses a new WP_Query. Since…

Related Posts:

Comment Section:

Leave a Reply

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

Fill out this field
Fill out this field
Please enter a valid email address.
You need to agree with the terms to proceed