Title: LCP Ajax Pagination
Author: zymeth25
Published: <strong>April 22, 2021</strong>
Last modified: March 16, 2023

---

Search plugins

![](https://ps.w.org/lcp-ajax-pagination/assets/banner-772x250.png?rev=2519593)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/lcp-ajax-pagination/assets/icon.svg?rev=2881060)

# LCP Ajax Pagination

 By [zymeth25](https://profiles.wordpress.org/zymeth25/)

[Download](https://downloads.wordpress.org/plugin/lcp-ajax-pagination.0.1.5.zip)

 * [Details](https://wordpress.org/plugins/lcp-ajax-pagination/#description)
 * [Reviews](https://wordpress.org/plugins/lcp-ajax-pagination/#reviews)
 *  [Installation](https://wordpress.org/plugins/lcp-ajax-pagination/#installation)
 * [Development](https://wordpress.org/plugins/lcp-ajax-pagination/#developers)

 [Support](https://wordpress.org/support/plugin/lcp-ajax-pagination/)

## Description

LCP Ajax Pagination is an add-on plugin for [List Category Posts](https://wordpress.org/plugins/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

**IMPORTANT**: Requires List Category Posts **version 0.84.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](https://github.com/picandocodigo/List-Category-Posts/wiki/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](https://github.com/picandocodigo/List-Category-Posts/wiki/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](https://github.com/picandocodigo/List-Category-Posts/wiki/Pagination).[
   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](https://github.com/klemens-st/lcp-ajax-pagination).

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](https://github.com/sponsors/klemens-st/)
or [donating on PayPal](https://www.paypal.com/donate?hosted_button_id=BX4TN5Z4MSX52)
🙂

### User Support

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

## Installation

Please note that this is an add-on plugin which requires [List Category Posts](https://wordpress.org/plugins/list-category-posts/)
to be installed and activated.

## Reviews

![](https://secure.gravatar.com/avatar/8c271d4fd9ff6cca243ce4bbbd638005ee1c5d8bce675fab468327c647fd821e?
s=60&d=retro&r=g)

### 󠀁[Very useful!](https://wordpress.org/support/topic/very-useful-2758/)󠁿

 [estr](https://profiles.wordpress.org/estr/) July 15, 2021

Thank you for developing this plugin!

![](https://secure.gravatar.com/avatar/9df5f4ad3f0d3eb0c19c468fd5e710460e6770a2ebc71c90ec37b73540291b6b?
s=60&d=retro&r=g)

### 󠀁[Much awaited feature to Plugin- List Category Posts](https://wordpress.org/support/topic/much-awaited-feature-to-plugin-list-category-posts/)󠁿

 [vinodkkumar](https://profiles.wordpress.org/vinodkkumar/) April 25, 2021

This feature is a good addition to the Plugin- List Category Posts. It is- * Simple*
Fully Customizable Just Modify “Load more” text to a button and it will match Google’s
load more images feature.

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/lcp-ajax-pagination/reviews/)

## Contributors & Developers

“LCP Ajax Pagination” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ zymeth25 ](https://profiles.wordpress.org/zymeth25/)

[Translate “LCP Ajax Pagination” into your language.](https://translate.wordpress.org/projects/wp-plugins/lcp-ajax-pagination)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/lcp-ajax-pagination/),
check out the [SVN repository](https://plugins.svn.wordpress.org/lcp-ajax-pagination/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/lcp-ajax-pagination/)
by [RSS](https://plugins.trac.wordpress.org/log/lcp-ajax-pagination/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.1.5

 * Updated dependencies.

#### 0.1.4

 * Updated dependencies.

#### 0.1.3

 * Updated dependencies.

#### 0.1.2

 * Fixed load more link remaining active before previous fetch is finished.

#### 0.1.0

 * Initial release

## Meta

 *  Version **0.1.5**
 *  Last updated **3 years ago**
 *  Active installations **100+**
 *  WordPress version ** 4.7 or higher **
 *  Tested up to **6.1.10**
 *  PHP version ** 5.6 or higher **
 * Tags
 * [ajax](https://wordpress.org/plugins/tags/ajax/)[ajax pagination](https://wordpress.org/plugins/tags/ajax-pagination/)
   [list category posts](https://wordpress.org/plugins/tags/list-category-posts/)
 *  [Advanced View](https://wordpress.org/plugins/lcp-ajax-pagination/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/lcp-ajax-pagination/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/lcp-ajax-pagination/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/lcp-ajax-pagination/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/lcp-ajax-pagination/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/lcp-ajax-pagination/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/lcp-ajax-pagination/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/lcp-ajax-pagination/reviews/)

## Contributors

 *   [ zymeth25 ](https://profiles.wordpress.org/zymeth25/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/lcp-ajax-pagination/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/donate?hosted_button_id=BX4TN5Z4MSX52&source=url)