Title: Bug &#8211; All Posts Loading Automatically w/o Button Click
Last modified: November 15, 2019

---

# Bug – All Posts Loading Automatically w/o Button Click

 *  Resolved [jhonn0](https://wordpress.org/support/users/jhonn0/)
 * (@jhonn0)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/bug-all-posts-loading-automatically-w-o-button-click/)
 * Having an issue with ALM (basic version, no add-ons) on a home page lately. The
   page should only load 10 posts initially, then the user should click the “Load
   More” button to load 10 more each time, with the maximum of 50 posts.
 * Currently, after the page loads, as you start to scroll down – before you get
   to 10th post – there is a flash/fade and more posts automatically load. Scroll
   only a few pixels more and it happens again, and again, until all posts have 
   loaded.
    At no point do you even get to a dead stop with the Load More button;
   not very good UI.
 * Page [here](https://cherishresearch.org).
 * Any insight into this issue is greatly appreciated!
    -  This topic was modified 6 years, 7 months ago by [jhonn0](https://wordpress.org/support/users/jhonn0/).
    -  This topic was modified 6 years, 7 months ago by [jhonn0](https://wordpress.org/support/users/jhonn0/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbug-all-posts-loading-automatically-w-o-button-click%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * (@dcooney)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/bug-all-posts-loading-automatically-w-o-button-click/#post-12137599)
 * Hi [@jhonn0](https://wordpress.org/support/users/jhonn0/),
    I’ve never seen this
   issue before so unfortunately I’m not really sure what is going on. The plugin
   doesn’t perform like this so it seems like there may be a 3rd party script or
   some other JavaScript involved here.
 * You can see the basic example here: [https://connekthq.com/plugins/ajax-load-more/examples/default/](https://connekthq.com/plugins/ajax-load-more/examples/default/)
 * Do you have any custom Ajax complete functions running or anything that runs 
   after an Ajax call?
 *  Thread Starter [jhonn0](https://wordpress.org/support/users/jhonn0/)
 * (@jhonn0)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/bug-all-posts-loading-automatically-w-o-button-click/#post-12194192)
 * Thanks for your response [@dcooney](https://wordpress.org/support/users/dcooney/)
 * I actually now seem to be having some success after removing the scroll_distance
   attribute from my shortcode (it was set to “0”). I’ll continue to observe and
   see if the behavior returns.
 * Curious – is there any chance of a compatibility issue with my WordPress version?
   This site uses 5.3, with the most recent ALM version.
 * I did once have a javascript Ajax complete function that was only there to hide
   the “Load More” button until after the initial 10 posts load. Disabling that 
   script didn’t seem to do anything to alter the behavior, though.
 * Thank you.
    -  This reply was modified 6 years, 6 months ago by [jhonn0](https://wordpress.org/support/users/jhonn0/).
 *  Plugin Author [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * (@dcooney)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/bug-all-posts-loading-automatically-w-o-button-click/#post-12200927)
 * Hi [@jhonn0](https://wordpress.org/support/users/jhonn0/)
 * > Curious – is there any chance of a compatibility issue with my WordPress version?
   > This site uses 5.3, with the most recent ALM version.
 * Not that I am aware, no users reporting issues.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Bug – All Posts Loading Automatically w/o Button Click’ is closed to 
new replies.

 * ![](https://ps.w.org/ajax-load-more/assets/icon-256x256.png?rev=2944639)
 * [Ajax Load More – Infinite Scroll, Load More, & Lazy Load](https://wordpress.org/plugins/ajax-load-more/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajax-load-more/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajax-load-more/)
 * [Active Topics](https://wordpress.org/support/plugin/ajax-load-more/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajax-load-more/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajax-load-more/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/bug-all-posts-loading-automatically-w-o-button-click/#post-12200927)
 * Status: resolved