The SearchWP extension provides added functionality for returning SearchWP query results to Ajax Load More for infinite scrolling.

This extension is available users running Ajax Load More 2.13+ 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.