Great way to load initial posts and load other posts by just click on load more button or infinite scrolling.
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.
If you are looking for large number of posts listing in single page then Custom post type Ajax load more is the right choice.
✅ 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.
✅ Setup security level, you can select post type and post status that only allow to load.
✅ You can create own template to customized listing behavior and overwrite into your theme easily.
✅ Lightweight, Faster and powerful performance.
✅ 3 types of inbuilt template layouts.
Lightweight Custom post type Ajax load is very simple way to use, you just put short-code anywhere.
[cpt_ajax_load_more post_type="post" template="default" posts_per_page="6"]
<?php $args = array( 'id' => 'blog-list', 'post_type' => 'post', 'post_staus' => 'publish', 'template' => 'default' ); echo cpt_alm_render($args); ?>
Developer can extend the functionalities using WordPress standard hooks and filters
You can find docs and more details about Custom post type Ajax load more on blacktheme.net
Easiest way:
1. Upload the plugin files to the /wp-content/plugins/plugin-name
directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the ‘Plugins’ screen in WordPress
3. Use the Settings->Plugin Name screen to configure the plugin
Put this shortcode [cpt_ajax_load_more] in your page content editor.
Yes, Please read this article to add custom template
Yes, in the settings menu of the Custom post type Ajax load more plugin.
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.
Create new folder called “cpt-alm” in the current theme .
Copy template file from plugins (wp-content/plugins/cpt-ajax-load-more/templates) and put in the current theme.
initial version