This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WordPress Infinite Scroll by Auto Load Next Post

Description

You have great content. That’s great but you shouldn’t have to work twice as hard to get the pageviews you want. While Auto Load Next Post is not the only infinite scrolling plugin out there it is the first that is designed to work and match with your theme and track the content that is being viewed, NOT the excerpts from your post archives like other plugins out there. All of your posts content!

Auto Load Next Post templating experience is the best in class – by a long shot.

Don’t just take my word for it. Read what Rich Tabor (Author of ThemeBeans) had to say in his review.

What is Auto Load Next Post?

Auto Load Next Post is a WordPress plugin developed to increase your pageviews by engaging the site viewers to keep reading your content rather than increasing your bounce rate.

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

✏️ Note to New Users

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

See for yourself

Want to see how it works? Go to the demo site, view any single post and scroll down to see the plugin in action.

Increase Your PageViews Today

Intrigued? I bet you are. Once you try Auto Load Next Post, your pageviews will increase 📈 and you will not want to go back. Guaranteed.

Built with developers in mind

Extendable and open source — Auto Load Next Post is created with theme and plugin developers in mind. If you’re intersted to jump in the project, there are opportunities for developers at all levels to get involved. Contribute to Auto Load Next Post on GitHub and join the party. 🎉

Need to trigger something during each post load? See the JavaScript triggers available in the documentation for details.

Track Your PageViews

If you have Google Analytics added to your site then you can track your pageviews just as you would any single post. Simply ask Auto Load Next Post to Update Google Analytics via the settings page and all pageviews will be tracked.

Customizable Repeater Template

Auto Load Next Post is completly customizable to help match to your theme. Should you need to completly override the repeater template for your theme you can do just that. Follow the guide in the documentation for more details.

3rd Party Support

Auto Load Next Post has started to support 3rd Party plugins 🎉 starting with WP Rocket and more will be added over time.

Free Add-ons

WordPress.org is home to some great add-ons for Auto Load Next Post, including:
Facebook Pixel Tracking

Keen to see them all? View all add-ons for Auto Load Next Post.

Have a free add-on for Auto Load Next Post? Let me know about it.

Auto Load Next Post Pro

Want more? I bet you do. A premium extension is currently in development with some of the most highly requested features.

  • Page and Media Attachment Support
  • Custom Post Type Support
  • Paginated Posts Supported
  • Exclude Post Formats
  • Limit Posts per Session
  • Query Posts by Category, Tag, Related or Custom Query
  • Exclude User Roles and Specific Users
  • Pre-Query Posts Ready to Load
  • Toggle Comments to Hide or Show
  • Multilingual Support for WPML and Polylang

On top of that you also get:

  • Email Support
  • and many more features and add-ons to follow.

Find out more | Sign up to be notified >>

More information

This plugin is created and maintained by Sébastien Dumont.

Screenshots

  • Plugin Settings: Theme Selectors, here is where we define the elements Auto Load Next Post will look for.
  • Plugin Settings: Misc Settings, here you can enable Google Analytics tracking, remove comments and set the JavaScript to load in the footer of your website instead should you need to.
  • Plugin Settings: Events, here you can support custom triggers or 3rd-party plugins to trigger their own once a post has loaded or when the visitor is entering a post.
  • Theme Customizer: The same settings can be applied via the theme customizer.

Installation

Automatic installation

Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser. To do an automatic install of Auto Load Next Post, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.

In the search field type “Auto Load Next Post” and click Search Plugins. Once you’ve found the plugin you can view details about it such as the point release, rating and description. Most importantly, of course, you can install it by simply clicking “Install Now”.

Manual installation

The manual installation method involves downloading the plugin and uploading it to your web server via your favourite FTP application. The WordPress codex contains instructions on how to do this here.

If the theme already supports Auto Load Next Post then you do not need to complete the remaining steps:

  1. Go to the plugin settings page by ‘Settings > Auto Load Next Post’.
  2. Enter each of the selectors specified for the theme you are using and press “Save Changes”.

Updating

Automatic updates should work like a charm; as always though, ensure you backup your site just in case.

FAQ

How does it work technically?

When a viewer reaches near the end of the article, the post navigation at the end of the post is used to identify and find the next post to load. It loads that post by inserting the content via a customizable repeater template and places the content underneath the parent post within the post container. This is done via Ajax.

It also detects what the viewer is reading and updates the browser URL address bar and page title to that post. Should the reader refresh the browser, the post they are currently reading would load as the new initial post.

All previous posts of the blog are still retained in the browser history and to top it off, each post read can be tracked as a pageview using Google Analytics.

Is Auto Load Next Post free?

Yes! Auto Load Next Post’s core features are and always will be free.

Will Auto Load Next Post work with my theme?

Yes, Auto Load Next Post will work with any theme but may require some configuration for it to understand your theme. Please see the documentation for help or read further down to see if your question has already been answered.

Is Auto Load Next Post translatable?

Yes! Auto Load Next Post is deployed with full translation and localization support via the ‘auto-load-next-post’ text-domain. How to translate?

Where can I find the settings for this plugin?

Go to Settings -> Auto Load Next Post. There you will find the options to change any of the theme selectors, enable Google Analytics and remove comments.

Is overriding the repeater template file required?

No. This was put in place to support themes that have coded their template files differently from WordPress theme code standards. For example, the Genesis Framework displays content via many action hooks instead so for this case overriding the template is a required.

Can I use JetPack Social Links and Like Button?

Yes. No further configuration is needed if you already have JetPack setup with social icons and like button.

Is it compatible with the JetPack’s related posts module?

This is not possible but it would also drive away the purpose of this plugin if related posts where to be displayed.

Can I load content before and after the next post has loaded?

Yes, you can. In the default repeater template, there are action hooks available that you can use.

After the first post has loaded, all I get is the same post over and over again. Why is that?

If you have this issue and you have created a custom repeater template file to support the theme then you may have placed the post navigation outside of the post query.

You need to place it inside the loop. If that is not the case then you have not included the content of the post correctly according to the theme you are using.

Does the plugin detect my theme and insert the theme selectors for me?

If the theme author has added support for Auto Load Next Post and has set the theme selectors then yes, it will set the theme selectors for you. If not supported then it does not. You may follow this guide to help you find your theme selectors.

My theme does not work with the plugin, what do I do?

Check that you have a post navigation at the end of your post. If one does exists then you may need to copy and modify the repeater template file content-alnp.php in order to support your theme.

Not all themes are coded the same way so some alterations will be needed to match the theme. If you need help with this then I can provide theme support on request.

What is the post order?

The post order is descending order from the initial post the visitor started reading from.

How can I get the Google Analytics option to work?

You first need to have Google Analytics added to your site. Either by inserting the analytics into your theme yourself or by using the Google Analytics plugin by MonsterInsights.

Once you have Google Analytics applied to your site you can enable to track each post via the plugin settings.

Can I track Facebook Pixels instead?

You can. All you have to do is simply install the Facebook Pixel Tracking add-on and activate. All that is required is that you have your Facebook Pixel tracker installed on the site first.

Does Auto Load Next Post support WordPress Network / Multisite websites?

It does. Just make sure that you activate the plugin on the site you want it used on and then make sure the selectors match the theme that site is using.

Reviews

June 7, 2022 1 reply
Don’t install this plugin. It’s malware added plugin. Your post will automatically redirect to another site and browser will show the security warning!
December 5, 2019 1 reply
I use the “Newspaper” theme, a theme that is used a lot and it doesn’t work. I spent hours trying to set it up, though. Unfortunately I didn’t get any support help and the documentation is very basic. I will be happy to change this rating to 5 stars as soon as it works and I look forward to the future update.
Read all 50 reviews

Contributors & Developers

“WordPress Infinite Scroll by Auto Load Next Post” is open source software. The following people have contributed to this plugin.

Contributors

“WordPress Infinite Scroll by Auto Load Next Post” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “WordPress Infinite Scroll by Auto Load Next Post” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.5.13 – 27th May 2019

  • Tweaked: Upgrade warning notice in preparation for version 1.6.0 release.

1.5.12 – 23rd April 2019

  • Tweaked: Repeater template now looks for content-post.php should content-single.php not exist before fallback to content.php.
  • Tweaked: Help tab copy and links on the plugin settings page.
  • Tweaked: Need help button now opens the help panel for the settings in view if one exists.
  • Updated: Review link.
  • Updated: POT file for translations.

1.5.11 – 11th April 2019

  • NEW: Excluded JS files from defer for the WP Rocket plugin.
  • Dev Feature: Reset button added to the Misc settings to allow users to remove all settings and re-initialize the plugin.
  • Fixed: Incorrect function name used when applying filter for WP Rocket plugin.
  • Tweaked: Admin notices to only appear on the Dashboard, the Plugins page, the Themes page and Auto Load Next Post settings page.
  • Tweaked: Admin notices have been re-ordered to allow correct flow of display.
  • Tweaked: Improved Admin JavaScript and added a confirmation for when the reset button is pressed.
  • Tweaked: Code clean up to remove functions or inline documentation that is no longer needed or used.
  • Updated: POT file for translations.

1.5.10 – 5th April 2019

  • NEW: Added 3rd Party support for the WP Rocket plugin. Excludes Auto Load Next Post scripts from JS minification.
  • Corrected: Added missing Poseidon theme options used to determin if post thumbnails should show in repeater template.
  • Tweaked: Theme selectors admin notification should the active theme be supported via a plugin.
  • Tweaked: uninstall.php file.

1.5.9 – 2nd April 2019

  • NEW: Added support for Poseidon theme.

1.5.8 – 1st April 2019

  • NEW: Added support for OceanWP theme.
  • Corrected: Typo in Congratulations admin notification.
  • Tweaked: Improved loading of Auto Load Next Post if set in the footer.
  • Tweaked: Disqus comments is also removed if Remove Comments is enabled.
  • Tweaked: The plugins JavaScript will stop running if user scrolls to quickly. Solves issue #156
  • Updated: POT file for translations.

View the full changelog here.