• Unlimited downloads from €14.50/month
  • 19+ million premium assets and templates
  • Cancellable at any time
  • Templates, Mockups, Media, Fonts, +5

LCP Ajax Pagination

by Klemens Starybrat

2 Ratings

  • 5.0

Active Installations

200+

Last Update

1 year

Quality

D

Plugin Description

Description
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:
AJAX pagination

    has the original
    lcp_paginator
    class, this plugin also adds
    lcpax-pagination
    .
    Wrapper around the load more link is:

Similar Plugins

  • Report Bug
The content on this website originates from various sources. All rights to the original content remain with the respective author. If you believe that your copyrights have been infringed by the use of content on this website, please contact us at info@plugin-guru.com. We will remove the content in question immediately.

This is the heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Regular Price

Free download

Key Features

  • You will be redirected to the retailer

Collections

Create your first Collection

To create a collection, simply click on the symbol on the desired plugin.

You can see this symbol when you move the mouse over the plugin. 

Current Level

Plugin Magican

You have reached 0 views on your collections and are currently Plugin Magican. You magically help people find the right plugins and are a great asset to the community

0 of 500 views reached