WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by zymeth25 v0.1.5

LCP Ajax Pagination

Ajax pagination add-on plugin for List Category Posts.

LCP Ajax Pagination

The facts

Rating
5★ from 2
Active installs
100+
Price
Free
Last updated
16 Mar 2023
Added
Apr 2021
Requires WP
4.7
Tested up to
WP 6.1.12
Requires PHP
5.6
Downloads
5,271

Our analysis

AI-assisted

LCP Ajax Pagination is a WordPress plugin that adds AJAX pagination features to the List Category Posts plugin. It allows users to navigate through posts without reloading the page, enhancing user experience on sites that display category-based posts.

The plugin supports two modes: standard AJAX pagination and a 'Load more' feature. Users can implement these by using specific shortcodes, which can be customised with CSS for styling. It is designed for those who want to improve the functionality of their List Category Posts setup.

Best for: This plugin is suitable for WordPress users who want to enhance their category post displays with AJAX functionality.

What it does well

  • Adds AJAX pagination to List Category Posts
  • Supports 'Load more' functionality
  • Customisable link text and CSS

Where it falls short

  • Requires List Category Posts version 0.84.1 or greater
  • Limited to the features described, with no current option to specify number of posts to fetch in 'Load more' mode

Verdict

LCP Ajax Pagination provides useful enhancements for users of List Category Posts, though it has some limitations in its current release.

From the developer

zymeth25's own description of LCP Ajax Pagination, lightly tidied.

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

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 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:

Read the full description on the official page →

Tagged as