Ajax Load More: REST API

plugin banner

An Ajax Load More extension that adds compatibility for the WP REST API.

Author:Darren Cooney (profile at wordpress.org)
WordPress version required:4.0
WordPress version tested:6.1.1
Plugin version:1.2.3
Added to WordPress repository:08-03-2017
Last updated:16-02-2023
Rating, %:0
Rated by:0
Plugin URI:https://connekthq.com/plugins/ajax-load-more/...
Total downloads:4 254
Active installs:100+
plugin download
Click to start download

The REST API extension will enable compatibility between Ajax Load More and the WP REST API plugin.

Easily access your website data (as JSON) through an HTTP REST API and display the results using the beauty of infinite scrolling with Ajax Load More.

https://connekthq.com/plugins/ajax-load-more/extensions/rest-api/

How It Works

The REST API add-on works by routing the standard Ajax Load More admin-ajax.php requests through to API endpoints for data retrieval. The data is returned as JSON, then parsed and displayed using Underscore.js styled templates on the front-end of your website.

Using a simple GET request, a JavaScript Repeater Template and a custom endpoint (/wp-json/ajaxloadmore/posts) developed specifically for Ajax Load More, users are able to access website data and infinite scroll the results using the WP REST API.

View Example


FAQ
ChangeLog