{"id":140035,"date":"2021-04-22T07:49:02","date_gmt":"2021-04-22T07:49:02","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/lcp-ajax-pagination\/"},"modified":"2023-03-16T09:07:05","modified_gmt":"2023-03-16T09:07:05","slug":"lcp-ajax-pagination","status":"publish","type":"plugin","link":"https:\/\/km.wordpress.org\/plugins\/lcp-ajax-pagination\/","author":15414359,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1.5","stable_tag":"0.1.5","tested":"6.1.10","requires":"4.7","requires_php":"5.6","requires_plugins":"","header_name":"LCP Ajax Pagination","header_author":"Klemens Starybrat","header_description":"Ajax pagination add-on plugin for List Category Posts.","assets_banners_color":"","last_updated":"2023-03-16 09:07:05","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/donate?hosted_button_id=BX4TN5Z4MSX52&source=url","header_plugin_uri":"https:\/\/github.com\/klemens-st\/lcp-ajax-pagination","header_author_uri":"https:\/\/github.com\/klemens-st","rating":5,"author_block_rating":0,"active_installs":100,"downloads":5127,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"0.1.0":{"tag":"0.1.0","author":"zymeth25","date":"2021-04-22 07:48:35"},"0.1.1":{"tag":"0.1.1","author":"zymeth25","date":"2021-04-22 08:03:47"},"0.1.2":{"tag":"0.1.2","author":"zymeth25","date":"2021-04-25 10:47:58"},"0.1.3":{"tag":"0.1.3","author":"zymeth25","date":"2021-06-21 12:10:10"},"0.1.4":{"tag":"0.1.4","author":"zymeth25","date":"2021-09-05 18:30:34"},"0.1.5":{"tag":"0.1.5","author":"zymeth25","date":"2023-03-16 09:07:05"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":2},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2519593,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2519593,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":2881060,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2519593,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2519593,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[221,5910,170496],"plugin_category":[59],"plugin_contributors":[162656],"plugin_business_model":[],"class_list":["post-140035","plugin","type-plugin","status-publish","hentry","plugin_tags-ajax","plugin_tags-ajax-pagination","plugin_tags-list-category-posts","plugin_category-utilities-and-tools","plugin_contributors-zymeth25","plugin_committers-zymeth25"],"banners":{"banner":"https:\/\/ps.w.org\/lcp-ajax-pagination\/assets\/banner-772x250.png?rev=2519593","banner_2x":"https:\/\/ps.w.org\/lcp-ajax-pagination\/assets\/banner-1544x500.png?rev=2519593","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/lcp-ajax-pagination\/assets\/icon.svg?rev=2881060","icon":"https:\/\/ps.w.org\/lcp-ajax-pagination\/assets\/icon.svg?rev=2881060","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>LCP Ajax Pagination is an add-on plugin for <a href=\"https:\/\/wordpress.org\/plugins\/list-category-posts\/\">List Category Posts<\/a>.\nMany users have requested the AJAX pagination feature and it is now possible with this extension.<\/p>\n\n<p>Two modes are currently supported:<\/p>\n\n<ul>\n<li>Ajax pagination<\/li>\n<li>Load more posts<\/li>\n<\/ul>\n\n<p><strong>IMPORTANT<\/strong>: Requires List Category Posts <strong>version 0.84.1 or greater<\/strong>.<\/p>\n\n<h3>Ajax pagination<\/h3>\n\n<p>Usage: <code>[catlist ajax_pagination=yes]<\/code><\/p>\n\n<p>The result is as if you used <code>[catlist pagination=yes]<\/code> but clicking pagination links does not trigger page reloads.\nInstead, new posts are fetched asynchronously and the list is updated without a reload.<\/p>\n\n<p>No other features of <a href=\"https:\/\/github.com\/picandocodigo\/List-Category-Posts\/wiki\/Pagination\">LCP pagination<\/a> are modified,\nyou can apply your pagination CSS, or other customisations, same as you have before.<\/p>\n\n<h3>Load more<\/h3>\n\n<p>Usage: <code>[catlist ajax_loadmore=yes]<\/code><\/p>\n\n<p>This transforms vanilla LCP pagination by replacing pagination links with a \"Load more\" link. Note that this\nfirst release does not allow specifying how many posts to fetch and uses the <code>numberposts<\/code> shortcode parameter\nsame as <a href=\"https:\/\/github.com\/picandocodigo\/List-Category-Posts\/wiki\/Pagination\">vanilla pagination<\/a>.\nThis will change in a future release.<\/p>\n\n<p>You can customise the link's text using LCP's <code>pagination_next<\/code> parameter:\n    [catlist ajax_loadmore=yes pagination_next=\"Show more posts\"]<\/p>\n\n<h3>General notes<\/h3>\n\n<ul>\n<li><strong>IMPORTANT<\/strong>: If you have multiple shortcodes on a page, those using AJAX <strong>must<\/strong> have the <code>instance<\/code> parameter set\nas per <a href=\"https:\/\/github.com\/picandocodigo\/List-Category-Posts\/wiki\/Pagination\">the documentation<\/a>.\n[catlist ajax_loadmore=yes instance=1]<\/li>\n<li>You do not have to use LCP's <code>pagination<\/code> parameter, using <code>ajax_loadmore<\/code> or <code>ajax_pagination<\/code> is enough.<\/li>\n<li>Make sure your shortcode contains only one option: <code>ajax_loadmore<\/code> or <code>ajax_pagination<\/code>, otherwise the plugin will not work.<\/li>\n<\/ul>\n\n<h3>CSS customisations<\/h3>\n\n<p>The plugin uses the following CSS classes:<\/p>\n\n<ul>\n<li>AJAX pagination <code>&lt;ul&gt;<\/code> has the original <code>lcp_paginator<\/code> class, this plugin also adds <code>lcpax-pagination<\/code>.<\/li>\n<li>Wrapper around the load more link is: <code>&lt;div class=\"lcpax-nextlink-wrapper\"&gt;<\/code>, the link itself is left unchanged\nas delivered by LCP, so it has the <code>lcp_nextlink<\/code> class.<\/li>\n<li>The SVG spinner displayed while waiting for 'load more' to finish has the <code>lcpax-spinner<\/code> class.<\/li>\n<\/ul>\n\n<h3>Development<\/h3>\n\n<p>LCP Ajax is open source software. You can find the\ndevelopment version of the plugin on <a href=\"https:\/\/github.com\/klemens-st\/lcp-ajax-pagination\">Github<\/a>.<\/p>\n\n<p>All suggestions and contributions are welcome :) Fork it, read the respository's\nreadme and start helping with the development!<\/p>\n\n<h3>Support the plugin<\/h3>\n\n<p>If you have found this plugin useful and would like to support its further development please consider\n<a href=\"https:\/\/github.com\/sponsors\/klemens-st\/\">sponsoring it on GitHub<\/a> or <a href=\"https:\/\/www.paypal.com\/donate?hosted_button_id=BX4TN5Z4MSX52\">donating on PayPal<\/a> :)<\/p>\n\n<h3>User Support<\/h3>\n\n<p>Please use the support forum for questions about <strong>using<\/strong> the plugin. Use Github issues for discussing <strong>code changes<\/strong> and <strong>bugs<\/strong>.<\/p>\n\n<!--section=installation-->\n<p>Please note that this is an add-on plugin which requires <a href=\"https:\/\/wordpress.org\/plugins\/list-category-posts\/\">List Category Posts<\/a> to be installed and activated.<\/p>\n\n<!--section=changelog-->\n<h4>0.1.5<\/h4>\n\n<ul>\n<li>Updated dependencies.<\/li>\n<\/ul>\n\n<h4>0.1.4<\/h4>\n\n<ul>\n<li>Updated dependencies.<\/li>\n<\/ul>\n\n<h4>0.1.3<\/h4>\n\n<ul>\n<li>Updated dependencies.<\/li>\n<\/ul>\n\n<h4>0.1.2<\/h4>\n\n<ul>\n<li>Fixed load more link remaining active before previous fetch is finished.<\/li>\n<\/ul>\n\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Ajax pagination add-on plugin for List Category Posts.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/140035","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=140035"}],"author":[{"embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/zymeth25"}],"wp:attachment":[{"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=140035"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=140035"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=140035"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=140035"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=140035"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=140035"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}