Ajax Load More for Relevanssi is a tiny extension that provides the functionality for returning Relevanssi query results to Ajax Load More.

This extension is available for free on wordpress.org for users running at least Ajax Load More 2.13.0 and SearchWP 2.6.1.


How It Works

The extension works by providing a connection point between Ajax Load More and Relevanssi.

By utilizing the code alm_query_args filter, we are able pass search parameters from a WordPress template to the relevanssi_do_query() function for results and then send those results back to Ajax Load More for display.

Example Filter

Example Template and Shortcode

Pro Tip: Don’t forget to set your post types. Relevanssi will NOT accept post_type=”any”.