Ajax Load More is a simple yet powerful solution for lazy loading/infinite scrolling WordPress posts and pages with Ajax.
Build complex WordPress queries using our easy to use shortcode builder then add the shortcode to your pages via the content editor or directly into your template files.
One, two, three or ten – you can now include multiple instances of Ajax Load More on a single page.
Easily create your own Ajax Load More shortcode by adjusting the various WordPress query parameters in our easy-to-use shortcode builder.
Ajax Load More allows you to query WordPress by many different content types. Query by Post Type, Post Format, Category, Tags, Custom Taxonomies, Search Term, Authors and more!!
See Shortcode Parameters
Customizable Repeater Template
Edit and extend the functionality of Ajax Load More by creating your own repeater template to match the look and feel of your website.
Ajax Load More in it's most simplest form.
Elements fade in as posts are loaded.
Include multiple Ajax Load More' on a single page.
Posts will not load until initiated by the user.
Returning results based on search terms.
Ajax Load More accepts a variety of query (wp_query()) parameters that are passed thru to WordPress via shortcode – don’t worry, creating your own shortcode is simple with our intuitive Shortcode Builder.
|repeater||Select from a list of customizable repeaters (Add-on available). Default = ‘default‘|
|post_type||Comma separated list of post types to query. Default = ‘post’|
|post_format||Query by post format. Default = null|
|category||Query by category slug. Default = null|
|taxonomy||Query by custom taxonomy name. Default = null|
|taxonomy_terms||Comma separated list of custom taxonomy terms(slug) to query. Default = null|
|taxonomy_operator||Operator to compare Taxonomy Terms against (IN/NOT IN). Default = ‘IN’|
|author||Query by author id. Default = null|
|search||Query search term (‘s’). Default = null|
|order||Order posts ASC(ascending) or DESC(descending) order. Default = ‘DESC’|
|orderby||Order posts by date, title, name, menu order, random, author, post ID or comment count. Default = ‘date’|
|exclude||Comma separated list of post ID’s to exclude from query.Default = null|
|offset||Offset the initial query (number).Default = ‘0’|
|posts_per_page||Number of posts to load with each request.Default = ‘5’|
|scroll||Load more posts as the user scrolls the page (true/false).Default = ‘true’|
|max_pages||Maximum number of pages to load while scrolling (only activated if scroll = true). Default = ‘5’|
|pause||Do not load posts until user clicks load posts button (true/false). Default = ‘false’|
|transition||Choose a loading transition (slide/fade). Default = ‘slide’|
|button_label||The label text for Load more button. Default = ‘Older Posts’|
[ajax_load_more post_type="post, portfolio" repeater="default" posts_per_page="5" transition="fade" button_label="Older Posts"]
Repeater templates are snippets of code that will execute over and over to display post details within a WordPress loop. They consist of a combination of HTML, PHP and core WordPress functions such as the_title() and the_permalink().
The default Ajax Load More template is fully editable with syntax highlighting enabled and allows you to take full control over what is displayed to your visitors.
The Custom Repeaters add-on will add an additional five repeater templates allowing you to create unique templates for different content types throughout your theme. In addition to added templates you can also name each of your templates for easy selection when building your shortcode.