This plugin will load posts on scroll with ajax.
| Author: | wpdebugfix.com (profile at wordpress.org) |
| WordPress version required: | 5.0 |
| WordPress version tested: | 6.8.1 |
| Plugin version: | 2.0 |
| Added to WordPress repository: | 01-03-2017 |
| Last updated: | 31-05-2025 |
| Rating, %: | 0 |
| Rated by: | 0 |
| Plugin URI: | https://wpdebugfix.com |
| Total downloads: | 943 |
![]() Click to start download |
|
A lightweight plugin to add infinite scroll and load more functionality using a shortcode or widget. Display posts from any post type with flexible settings.
Usage
Shortcode Example:
[infscroll post_type=”post” scroll_type=”loadmore” view=”list”]
Parameters:
-
post_type – (string) The post type to display. Default: “post”.
Example:post_type="product"to show WooCommerce products. -
posts_per_page – (int) Number of posts to load initially and per scroll. Default: 5.
Example:posts_per_page="10" -
scroll_type – (string) The scroll behavior. Options:
"loadmore"– Adds a Load More button"infinite"– Loads automatically as the user scrolls
Default:"loadmore"
-
view – (string) Display layout. Currently supports:
"list"– Posts appear in a vertical list
Default:"list"
Example:
Load custom post type with 10 items per scroll:
[infscroll post_type=”event” posts_per_page=”10″ scroll_type=”infinite”]
