Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

154 lines (114 sloc) 5.524 kb
=== Infinite-Scroll ===
Contributors: beaver6813, dirkhaim,
Donate link:
Tags: ajax, pagination, scrolling, scroll, endless, reading
Requires at least: 2.7
Tested up to: 3.3
Stable tag: 2.0b
Automatically append the next page of posts (via AJAX) to your page when a user scrolls to the bottom.
== Description ==
Infinite Scroll adds the following functionality to your wordpress installation: **When a user scrolls towards the bottom of the page, the next page of posts is automatically retrieved and appended**. This means they never need to click "Next Page", which *dramatically increases stickiness*.
* Fully embraces progressive enhancement: RSS readers and js-off folks will be happy.
* Fully customizable by text, css, and images.
* Works on 80% of wordpress themes, with little or no configuration.
* Hackable source code to modify the behavior.
* Tested back to 2.6, but probably works on earlier versions.
* Requires no (hopefully) template hacking, only a knowledge of CSS selectors.
Full information on [](
== Installation ==
1. Download the plugin.
1. Install it to your /wp-content/plugins/ directory
1. Activate the plugin in your Wordpress Admin UI.
1. Visit the Settings / Infinite Scroll page to [set up the css selectors](
1. The plugin will now work for a logged in Admin, but will be disabled for all other users; you can change this.
== Frequently Asked Questions ==
= Can I change the number of posts loaded? =
Yup. But that's a Wordpress thing. Go to Settings / Reading
= Why is this FAQ so short? =
Because it is. Go to []( for more.
== Screenshots ==
1. Loading the next set of posts
== Changelog ==
= 2.0b2.120111 =
* Added infinite_scroll_load_override filter to manually force infinite-scroll to load on a page.
* Thanks to for the above patch.
= 2.0b2.111218 =
* Updated preset DB with basic themes
* Made a few fixes in options/presets to prep for main release.
* Changed hook used by 404 detection to template_redirect from wp.
= 2.0b2.110822 =
* Removed registration/enqueuing script in favor of just enqueueing
* Fixed bug/typo in compressed init script
= 2.0b2.110821 =
* Converted options pages to use Settings API
* Added behavior selection (Manual triggering)
= 2.0b2.110818 =
* Completely revamped admin panel adding more modular management
* Added ability to center loading image
* Added WYSIWYG editor to HTML allowed fields in admin panel
* Updated Javascript callback to pass DOM for new elements added
* Added Preset manager
* Added ability to auto-fill selector fields from theme preset
* Overhaul of underlying code, seperating out into classes to cut down
on code processed (and hence load time) for the end-user.
= 2.0b2.110723 =
* Improved escaping on settings to allow greater flexibility.
* Fixed issue with jQuery not loading if WP version is up to date.
* Fixed issue with plugin showing twice on plugin list.
= 2.0b2.110716 =
* Moved init script from direct page insertion to seperate script.
* Cleaned up unneeded declared constants.
* Combined init script and library into one minified script.
* This fixes an incompatability with HeadJS plugin.
= 2.0b2.110713 =
* Fixed multiple jQuery loaded conflicts.
* Now uses standard Wordpress javascript insertion.
* Loads locally stored jQuery 1.6.2 if current version is < 1.6
this can only be detected through Wordpress now, hence the fix
for multiple versions conflicting (some naughty themes don't
use Wordpress's javascript loading).
= 2.0b2.110709 =
* FIX: Default options not being recursively copied.
* Updated to new options layout.
* Callback fix.
= 2.0b2.110706 =
* HTTPS loading image fix.
* Better debug support (switches between minified and non).
= 2.0b2.110629 =
* Callback (custom javascript) fix.
* IE9 binding bug fix.
= 2.0b2.110628 =
* Modified the method used to determine the link paths (bug fix)
= 2.0b2.110617 =
* Updated core javascript to version 2.0b2.110617 (full revamp).
* General cleanup/tidy of plugin itself.
* Fixed bugs with numerical sub-domains (now uses site_url to determine path).
* Supports archives, tags, searches.
* Wider theme support.
* Simplified plugin options page, added loading image upload ability, added option for debug mode.
* Removed annoying reminder that showed on all admin pages.
* Forces 404 header when no more posts are available.
= 1.5.100504 =
* New appending technique using document fragments.
* Callback receives the contentSelector elem as its first argument,
and an array of the new elements as the second argument
= 1.4.100210 =
Fixed small bug that jQuery 1.4 introduced.
= 1.4 =
Proper wordpress method (enqueue_script) removed because it just breaks too often
JS updated with some custom method action.
= 1.3 =
Use proper Wordpress function to register the javascript
Use plugins_url to determine plugin url
= 1.2 =
* 2009 August 4th
* getoption(’siteurl’) fix made.
* jQuery plugin version updated. many more options available.
* Release backwards compatible
= 1.1 =
* 2008 September 25
* JavaScript rewritten as a proper jQuery plugin.
* Added animation
= 1.0 =
* June 29 - 1.0 release.
Jump to Line
Something went wrong with that request. Please try again.