Gain more post views by allowing your site viewers to continue reading your blog posts as they scroll down the page.
JavaScript PHP CSS Shell

Auto Load Next Post

Built with Grunt GitHub forks GitHub license WordPress plugin WordPress WordPress Build Status Scrutinizer Code Quality Code Climate

Welcome to the Auto Load Next Post repository on GitHub. Here you can browse the source, look at open issues and keep track of development. We recommend all developers to follow the blog to stay up to date about everything happening in the project or simply view the feature roadmap.

If you are not a developer, please use the Auto Load Next Post plugin page on

Want to contribute to the project? Then please ready the contribute guidelines clearly.

What is Auto Load Next Post?

Auto Load Next Post is a WordPress plugin developed to increase page views by engaging the site viewers to keep them reading the blogs content as they reach the bottom of an article rather than having to go back and select another post to read.

It simply loads the next post on your blog automatically once the user has reached the bottom of the initial post the viewer is reading and repeats as the user reads the content until there are no more posts to load.

How does it work?

At the end of every single post their is a post navigation which is used to detect and collect the previous post URL for the next post to load. JavaScript then loads the post by inserting the content via a special template that matches the theme structure for a single post and places the content underneath the parent post within the main post container.

The JavaScript detects when you are reading the next post and updates your browser URL address bar and page title to that post. Should you refresh the browser, the post you are currently reading would load as the new initial post.

All previous posts of the blog are still retained in your browser history.

Note to Beginners

Auto Load Next Post is a plugin for self-hosted WordPress sites. This means you will need to switch from to if you want to use this plugin on your WordPress site.


  • Action hooks to load content in the loop file.
  • Developer Friendly.
  • Hide Comments.
  • Track posts with Google Analytics. Requires Google Analytics to be applied on your site first for this to work.
  • Over-writable template loop file.
  • Child-theme Support.
  • WordPress Network / Multisite Support.

Auto Load Next Post Premium

There's an even better version of the plugin coming out soon with the following extra features:

  • Custom Post Type Support
  • Media Attachments Support
  • Over-writable Template for Pages
  • More popular themes supported
  • Priority Email Support
  • and many more features to follow.

More information | Sign up to be notified >>

Found a Bug?

If you find a bug within Auto Load Next Post, please report the issue by creating a ticket on the GitHub repository where we can deal with it more appropriately. Please ensure that you read the contribution guidelines prior to submitting your report. To help us solve the issue, please be as descriptive as possible.

Contributing to Auto Load Next Post

If you have a patch, or stumbled upon an issue with Auto Load Next Post, you can contribute this back to the code. Please read our contribution guidelines for more information how you can do this.

Translation Support

Auto Load Next Post is in need of translations. Is the plugin not translated in your language or do you spot errors with the current translations? Helping out is easy! Click on "Translate Auto Load Next Post" on the side of this page.

Libraries Used

The libraries above are used with the plugin.

PHP Requirement

This plugin requires PHP version 5.3 or higher.
If you're still at PHP 5.2, it's time to update. Read here why and how.
Updating to a newer PHP version is almost always done in minutes and free of charge!

More information