{"id":126186,"date":"2020-08-06T08:54:30","date_gmt":"2020-08-06T08:54:30","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/custom-post-type-ajax-load-more\/"},"modified":"2021-07-28T12:05:13","modified_gmt":"2021-07-28T12:05:13","slug":"cpt-ajax-load-more","status":"closed","type":"plugin","link":"https:\/\/hsb.wordpress.org\/plugins\/cpt-ajax-load-more\/","author":18186044,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.6.0","stable_tag":"1.6.0","tested":"5.8.13","requires":"4.0","requires_php":"5.6","requires_plugins":"","header_name":"CPT Ajax Load More","header_author":"Tushar Gohel","header_description":"The simple way to load custom post type with infinite scroll or  load more button.","assets_banners_color":"6bd299","last_updated":"2021-07-28 12:05:13","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/plugins.blacktheme.net\/ajax-load-more","header_author_uri":"https:\/\/plugins.blacktheme.net","rating":5,"author_block_rating":0,"active_installs":400,"downloads":8678,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"tushargohel","date":"2020-08-06 08:54:17"},"1.5.0":{"tag":"1.5.0","author":"tushargohel","date":"2020-09-18 07:26:02"},"1.5.1":{"tag":"1.5.1","author":"tushargohel","date":"2020-10-14 18:19:48"},"1.6.0":{"tag":"1.6.0","author":"tushargohel","date":"2021-07-28 12:05:13"}},"upgrade_notice":{"":"<p>none<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"3"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2353718,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2353718,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2353718,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2353718,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.5.0","1.5.1","1.6.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2353718,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2353718,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2353718,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2353718,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":2353718,"resolution":"5","location":"assets","locale":""}},"screenshots":{"1":"Ajax load more button screen grid view","2":"Ajax load more button screen simple list","3":"Infinite Scroll screen.","4":"Ajax load more button screen advance grid view","5":"General settings."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[57639,5911,5908,20766,4884],"plugin_category":[],"plugin_contributors":[189232,201719],"plugin_business_model":[],"class_list":["post-126186","plugin","type-plugin","status-closed","hentry","plugin_tags-ajax-load-more","plugin_tags-ajax-posts","plugin_tags-infinite-scroll","plugin_tags-lazy","plugin_tags-lazy-load","plugin_contributors-tushargohel","plugin_contributors-udaymoradiya","plugin_committers-tushargohel"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/cpt-ajax-load-more_6bd299.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/cpt-ajax-load-more\/assets\/screenshot-1.png?rev=2353718","caption":"Ajax load more button screen grid view"},{"src":"https:\/\/ps.w.org\/cpt-ajax-load-more\/assets\/screenshot-2.png?rev=2353718","caption":"Ajax load more button screen simple list"},{"src":"https:\/\/ps.w.org\/cpt-ajax-load-more\/assets\/screenshot-3.png?rev=2353718","caption":"Infinite Scroll screen."},{"src":"https:\/\/ps.w.org\/cpt-ajax-load-more\/assets\/screenshot-4.png?rev=2353718","caption":"Ajax load more button screen advance grid view"},{"src":"https:\/\/ps.w.org\/cpt-ajax-load-more\/assets\/screenshot-5.png?rev=2353718","caption":"General settings."}],"raw_content":"<!--section=description-->\n<p>Custom post type Ajax load more is the flexible solutions for WordPress to load only some of the posts and another posts will be load with infinite scroll or load more and you can create beautiful blog listing quickly.<\/p>\n\n<p>If you are looking for large number of posts listing in single page then Custom post type Ajax load more is the right choice.<\/p>\n\n<h3>Key Features<\/h3>\n\n<p>&#9989; Custom post type Ajax load more is the using WordPress standard query with the many parameters like Post Type, Post Status, Category Taxonomies and more.\n&#9989; Setup security level, you can select post type and post status that only allow to load.\n&#9989; You can create own template to customized listing behavior and overwrite into your theme easily.\n&#9989; Lightweight, Faster and powerful performance.\n&#9989; 3 types of inbuilt template layouts.<\/p>\n\n<h3>How to Use<\/h3>\n\n<p>Lightweight Custom post type Ajax load is very simple way to use, you just put short-code anywhere.<\/p>\n\n<h4>Shortcode:<\/h4>\n\n<pre><code>[cpt_ajax_load_more post_type=\"post\" template=\"default\" posts_per_page=\"6\"]\n<\/code><\/pre>\n\n<h4>PHP Code:<\/h4>\n\n<pre><code>&lt;?php \n $args = array(\n  'id' =&gt; 'blog-list',\n  'post_type' =&gt; 'post', \n  'post_staus' =&gt; 'publish',\n  'template' =&gt; 'default'\n ); \n echo cpt_alm_render($args); \n?&gt;\n<\/code><\/pre>\n\n<h3>Extend Functionalities<\/h3>\n\n<p>Developer can extend the functionalities using WordPress standard hooks and filters<\/p>\n\n<ul>\n<li><a href=\"https:\/\/plugins.blacktheme.net\/cpt-ajax-load-more\/docs\/shortcode-parameters\/\">Short code Parameters<\/a><\/li>\n<li><a href=\"https:\/\/plugins.blacktheme.net\/cpt-ajax-load-more\/docs\/filters\/\">Filters<\/a><\/li>\n<li><a href=\"https:\/\/plugins.blacktheme.net\/cpt-ajax-load-more\/docs\/custom-templates\/\">Create Custom template<\/a><\/li>\n<li><a href=\"https:\/\/plugins.blacktheme.net\/cpt-ajax-load-more\/docs\/javascript-callbacks\/\">JavaScript callback<\/a><\/li>\n<\/ul>\n\n<h3>Demos and Examples<\/h3>\n\n<ul>\n<li><a href=\"https:\/\/plugins.blacktheme.net\/cpt-ajax-load-more\/examples\/default-list\/\">Simple List<\/a><\/li>\n<li><a href=\"https:\/\/plugins.blacktheme.net\/cpt-ajax-load-more\/examples\/grid-view\/\">Grid view<\/a><\/li>\n<li><a href=\"https:\/\/plugins.blacktheme.net\/cpt-ajax-load-more\/examples\/card-view\/\">Card View<\/a><\/li>\n<li><a href=\"https:\/\/plugins.blacktheme.net\/cpt-ajax-load-more\/examples\/card-view-2\/\">Advance Card view<\/a><\/li>\n<li><a href=\"https:\/\/plugins.blacktheme.net\/cpt-ajax-load-more\/examples\/infiinte-scroll\/\">Infinite Scrolling<\/a><\/li>\n<\/ul>\n\n<h3>Docs<\/h3>\n\n<p>You can find <a href=\"https:\/\/plugins.blacktheme.net\/cpt-ajax-load-more\/docs\/\">docs<\/a> and more details about Custom post type Ajax load more on <a href=\"https:\/\/plugins.blacktheme.net\/cpt-ajax-load-more\/\">blacktheme.net<\/a><\/p>\n\n<!--section=installation-->\n<p>Easiest way:\n1. Upload the plugin files to the <code>\/wp-content\/plugins\/plugin-name<\/code> directory, or install the plugin through the WordPress plugins screen directly.\n2. Activate the plugin through the 'Plugins' screen in WordPress\n3. Use the Settings-&gt;Plugin Name screen to configure the plugin<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20to%20add%20ajax%20load%20more%20in%20my%20website%3F'><h3>How to add Ajax load more in my website?<\/h3><\/dt>\n<dd><p>Put this shortcode [cpt_ajax_load_more] in your page content editor.<\/p><\/dd>\n<dt id='can%20i%20create%20my%20own%20custom%20template%3F'><h3>Can I create my own custom template?<\/h3><\/dt>\n<dd><p>Yes, Please read this <a href=\"https:\/\/plugins.blacktheme.net\/cpt-ajax-load-more\/docs\/custom-templates\">article<\/a> to add custom template<\/p><\/dd>\n<dt id='can%20i%20restrict%20specific%20post%20type%20to%20allow%3F'><h3>Can I restrict specific post type to allow?<\/h3><\/dt>\n<dd><p>Yes, in the settings menu of the Custom post type Ajax load more plugin.<\/p><\/dd>\n<dt id='is%20the%20ajax%20call%20secure%3F'><h3>Is the Ajax call secure?<\/h3><\/dt>\n<dd><p>Yes, Custom post type Ajax load more uses the WordPress standard nonce to protect the URL to direct access and also admin user can set permission to allow custom post type and post status.<\/p><\/dd>\n<dt id='how%20to%20override%20the%20system%20loop%20template%20file%3F'><h3>How to override the system loop template file?<\/h3><\/dt>\n<dd><p>Create new folder called \u201ccpt-alm\u201d in the current theme .\nCopy template file from plugins (wp-content\/plugins\/cpt-ajax-load-more\/templates) and put in the current theme.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.6.0 - July 28, 2021<\/h4>\n\n<ul>\n<li>NEW - Added a new feature to disable nonce verify in ajax call.<\/li>\n<li>NEW - Added new feature to disable the default CSS.<\/li>\n<li>FIX - Multiple post type issue.<\/li>\n<li>FIX - Fixed wrapper and item class issue.<\/li>\n<li>FIX - Border issue in Safari of default layout.<\/li>\n<\/ul>\n\n<h4>1.5.1 - October 13, 2020<\/h4>\n\n<ul>\n<li>FIX - Category parameters is not working.<\/li>\n<li>FIX - Multiple post types not working.<\/li>\n<li>FIX - Gutenberg page update issue.<\/li>\n<\/ul>\n\n<h4>1.5.0 - September 9, 2020<\/h4>\n\n<ul>\n<li>NEW - Added shortcode builder button for editor.<\/li>\n<li>FIX - Fixed queryArguments filter not working after ajax load more.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<p>initial version<\/p>","raw_excerpt":"Great way to load initial posts and load other posts by just click on load more button or infinite scrolling.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/126186","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/hsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/hsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=126186"}],"author":[{"embeddable":true,"href":"https:\/\/hsb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/tushargohel"}],"wp:attachment":[{"href":"https:\/\/hsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=126186"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/hsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=126186"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/hsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=126186"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/hsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=126186"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/hsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=126186"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/hsb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=126186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}