WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Infinite-Scroll

Automatically append the next page of posts (via AJAX) to your page when a user scrolls to the bottom.

What exactly is infinite scrolling?

Essentially it is pre-fetching content from a subsequent page and adding it directly to the user’s current page. More Information

Can I change the number of posts loaded?

Yes. Go to Settings -> Reading in your WordPress administrative dashboard.

How do I change the alignment of the loading image?

Add the following to your theme's css: #infscr-loading img { text-align: ALIGNMENT; } where "ALIGNMENT" is either left, right, or center.

How can I pass additional arguments such as behavior or callbacks to the script?

Add a filter to infinite_scroll_options and adds additional options to the options array.

Is the plugin available in my language?

If you enjoy the plugin and are interested in contributing a translation (it's super easy), please take a look at the Translating WordPress page.

Is it SEO-Friendly?

Yes all enhancements are made via javascript only, so search spiders see no difference.

Is it accessible?

Things won’t change for screen-readers. This technique degrades gracefully.

Does it still keep going, even at the end of the blog?

Infinite scroll is configured to die when it hits a 404 Not Found status code, so when it goes through all your archives it should hit a /page/43/ (or something) that doesn’t exist, then show a message "Congrats, you’ve reached the end of the internet." Some WordPress themes don’t report not found pages with a 404. Try a different theme or contacting the theme author.

Do I need to edit my theme to make this work?

Probably not, nope.

How do I pass additional arguments such as callbacks to the Infinite Scroll script?

To pass additional arguments to the Infinite Scroll script, add the following code to either your theme's functions.php or to a stand-alone plugin file.

` function my_infinite_scroll_options_filter( $options ) { $options['callback'] = 'my_callback'; $options['another_parameter'] = 'another_value'; return $options; }

add_filter( 'infinite_scroll_js_options', 'my_infinite_scroll_options_filter' );

`

Requires: 3.2 or higher
Compatible up to: 3.5.2
Last Updated: 2013-1-26
Downloads: 194,850

Ratings

4 stars
4.4 out of 5 stars

Support

3 of 30 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

0,1,0
0,1,0
100,1,1
100,1,1
50,4,2
100,1,1
100,1,1 50,2,1 100,1,1 100,2,2
100,1,1
33,3,1 100,2,2 100,1,1
100,7,7
0,1,0 100,1,1
50,4,2 100,7,7
100,7,7
0,1,0 100,1,1
100,5,5 100,1,1
100,1,1 80,5,4 100,2,2 0,1,0 100,1,1 100,1,1
44,9,4 100,2,2
100,1,1 0,1,0 63,16,10
100,3,3
100,1,1
0,2,0
50,2,1
100,3,3
100,1,1
50,2,1
0,1,0
50,2,1