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.

Features | Examples | Shortcode Parameters | Repeater Templates


Features

Multiple Instances

One, two, three or ten – you can now include multiple instances of Ajax Load More on a single page.
View example

Custom Shortcode Builder

Easily create your own Ajax Load More shortcode by adjusting the various WordPress query parameters in our easy-to-use shortcode builder.
See Screenshots

Query Parameters

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.
More Details


Examples

Default

Ajax Load More in it's most simplest form.

Fade Transition

Elements fade in as posts are loaded.

Masonry

Creating a flexible grid layout with Masonry by Dave DeSandro.

Multiple Instances

Include multiple Ajax Load More' on a single page.

Pause Loading

Posts will not load until initiated by the user.

Search Results

Returning results based on search terms.

SEO Paging

Generate unique paging URLs with each Ajax Load More query.

The Custom Repeaters Add-on has been installed and used on all product demos except for Default.


Shortcode Parameters

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’
meta_key Custom field key(name). Default = null
meta_value Custom field value. Default = null
meta_compare Operator to compare meta_key and meta_value against (=/!=/>/>=/</<=). Default = ‘=’
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’
seo Enable address bar URL rewrites as users page through content – add-on only (true/false). Default = ‘false’

Example Shortcode

[ajax_load_more post_type="post, portfolio" repeater="default" posts_per_page="5" transition="fade" button_label="Older Posts"]

Repeater Templates

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.

Ajax Load More - Default Repeater Template

 

Additional Templates

The Custom Repeaters add-on will provide the ability to create an infinite number of repeater templates  Рthis will allow you to create unique layouts for different content types throughout your theme.

Create, modify and delete repeater templates as you need them with absolutely zero restrictions.

The Custom Repeaters add-on will provide the ability to create an infinite number of repeater templates.

Click here to learn more about the Custom Repeaters add-on.