WordPress.org

Support

Support » Plugins and Hacks » Infinite Scroll Fix – Pages with custom queries

Infinite Scroll Fix – Pages with custom queries

  • I ran into an issue when creating a page with custom queries and I noticed that infinite scroll wasn’t working. In fact when I inspected the page I realized that the plugin wasn’t being loaded at all, but was working fine on the rest of the site.

    I then looked into the plugin code and found out it doesn’t load “Single Posts” or “Single Pages”, so I commented that block out on line number 307 and voila it all worked!

    P.S.

    In my template I had to make sure that my “no content” template only loaded on the first page, otherwise it just kept loading that template over and over.

    https://wordpress.org/plugins/infinite-scroll/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Infinite Scroll Fix – Pages with custom queries’ is closed to new replies.