WordPress plugin intelligence profile

LCP Ajax Pagination

Ajax pagination add-on plugin for List Category Posts.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.1
Current version0.1.5
WordPress coverageTested up to WordPress 6.1
Minimum stackWP 4.7 · PHP 5.6
Directory statusactive
Last directory update16 Mar 20233y ago
Active installations100Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 2 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records LCP Ajax Pagination version 0.1.5 as active, updated 3y ago and tested up to WordPress 6.1.

Overview

About this plugin

LCP Ajax Pagination is an add-on plugin for List Category Posts.

Many users have requested the AJAX pagination feature and it is now possible with this extension.

Two modes are currently supported:

  • Ajax pagination
  • Load more posts

1 or greater.

Ajax pagination

Usage: [catlist ajax_pagination=yes]

The result is as if you used [catlist pagination=yes] but clicking pagination links does not trigger page reloads.

Instead, new posts are fetched asynchronously and the list is updated without a reload.

No other features of LCP pagination are modified,

you can apply your pagination CSS, or other customisations, same as you have before.

Load more

Usage: [catlist ajax_loadmore=yes]

This transforms vanilla LCP pagination by replacing pagination links with a “Load more” link. Note that this

first release does not allow specifying how many posts to fetch and uses the numberposts shortcode parameter

same as vanilla pagination.

This will change in a future release.

You can customise the link’s text using LCP’s pagination_next parameter:

[catlist ajax_loadmore=yes pagination_next=”Show more posts”]

General notes

  • IMPORTANT: If you have multiple shortcodes on a page, those using AJAX must have the instance parameter set

as per the documentation.

[catlist ajax_loadmore=yes instance=1]

  • You do not have to use LCP’s pagination parameter, using ajax_loadmore or ajax_pagination is enough.
  • Make sure your shortcode contains only one option: ajax_loadmore or ajax_pagination, otherwise the plugin will not work.

CSS customisations

The plugin uses the following CSS classes:

  • AJAX pagination <ul> has the original lcp_paginator class, this plugin also adds lcpax-pagination.
  • Wrapper around the load more link is: <div class="lcpax-nextlink-wrapper">, the link itself is left unchanged

as delivered by LCP, so it has the lcp_nextlink class.

  • The SVG spinner displayed while waiting for ‘load more’ to finish has the lcpax-spinner class.

Development

LCP Ajax is open source software. You can find the

development version of the plugin on Github.

All suggestions and contributions are welcome 🙂 Fork it, read the respository’s

readme and start helping with the development!

Support the plugin

If you have found this plugin useful and would like to support its further development please consider

sponsoring it on GitHub or donating on PayPal 🙂

User Support

Please use the support forum for questions about using the plugin. Use Github issues for discussing code changes and bugs.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • ajax pagination
  • list category posts
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.1

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.1.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.1
Minimum requirementsWordPress 4.7 · PHP 5.6
Update activity16 Mar 20233y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.