Ajax Load More for SearchWP is a tiny extension that provides the functionality for returning SearchWP 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 SearchWP.

By utilizing the core alm_query_args filter, we are able pass search parameters from WordPress templates to the SWP_Query class for results and then send those results back to Ajax Load More for display.

Example Filter

Example Template and Shortcode

Pro Tip: Set post_type=”any” in your shortcode to return all post types.