Infinite Loading triggers too late — how to load next article before footer?

Posted in: Newspaper
Post count: 1

Hi there,

I’m currently using your theme with the Infinite Loading option enabled for articles. It works technically, but I’ve noticed that the next article only loads when the user reaches the very bottom of the page, just below the footer.

From a UX and engagement perspective, this is a bit problematic:
Most users don’t scroll that far — especially when there are additional elements after the article (author box, related posts, comments, etc.). As a result, the infinite loading rarely triggers, and the feature is almost never used.

What I would like instead is for the next article to load as soon as the current article ends, or at least before the footer becomes visible — basically, when the user finishes reading, not when they’re done scrolling everything.

My questions:
Is there any built-in way to adjust the scroll trigger threshold for the infinite loading feature?

If not, is there a way to disable the built-in AE infinite loading and instead add a custom script to trigger the next article loading earlier (for example, when a specific element like .post-content ends)?

Could you point me in the right direction on how to do that safely within your theme structure?

I’d be happy to integrate a small custom JavaScript snippet below the article if needed, but I’d love to have your advice on the cleanest and safest approach.

Thanks in advance for your help!

Best regards,
Arthur

Post count: 35449

Hi,
You can change the scroll trigger using the Page scroll percent
https://i.imgur.com/6f78kpL.png from the single post template.
I hope this will help you!
Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.