WordPress.org

Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Auto Load Next Post

Gain more post views on your site as readers continue reading your posts scrolling down the page.

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 >>

How do I enable theme support for the plugin?

Simple add this to your functions.php file.

add_theme_support('auto-load-next-post');

Then setup the selectors for your theme in the settings page.

Where's the settings screen?

Settings > Auto Load Next Post.

Is overriding the template file required?

No. This was put in place to support themes that have coded their template files differently from WordPress standard code.

How can I override the default template file?

Simply create a new folder in your theme like so: your-theme/auto-load-next-post/ and copy the template file content-partial.php into that new folder. Modify it to match your theme and from now on the plugin will load that template file instead.

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

It has been brought to my attention that this is no longer the case with the recent updates made in JetPack. I am looking into a new solution so look out for it on the feature roadmap.

You mentioned action hooks to load content before and after the next post has loaded. What are they?

The action hooks are documented on the GitHub repository along with an example on how to use them. I have also prepared a plugin that shows you an example of added content using the hooks.

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

If you created your own content-partial.php file, 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.

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

No it does not, but this will be available in the premium version. However this will only work with themes that have been tested and approved.

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

You may need to copy and modify the template file content-partial.php in order to support your theme. Not all themes are coded the same way so some alterations will be needed. If you need help with this then create a support ticket and I will do my best to help you.

I'm confused about the post order. Why is the plugin called Auto Load Next Post?

Well, WordPress loads posts in descending order by default so the next post is the previous post and a user reads content going down not up so it loads the next post, not previous.

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.

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 the site is using.

Requires: 4.3 or higher
Compatible up to: 4.7.1
Last Updated: 3 weeks ago
Active Installs: 500+

Ratings

4.2 out of 5 stars

Support

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

Got something to say? Need help?

Compatibility

+
=
Not enough data

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

100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
50,2,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1 100,1,1
100,1,1
100,1,1
100,1,1 0,1,0 0,1,0
0,1,0 100,1,1
100,1,1
100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1