Viewing 3 replies - 1 through 3 (of 3 total)
  • Just replace false with true in that specific function.
    I’ve modded my page like this and never experienced any problems so far.

    thisismyalterego, did you get Infinite Scroll to work on single.php pages (single posts as opposed to single pages)?

    I’m trying to get Infinite Scroll to work with single posts. Here’s what happens: a single post is loaded. I scroll to the bottom and one extra post is loaded. Then I scroll to the bottom again and no more posts are loaded.

    I have a couple ideas about why this happens:

    1. Only two posts are loaded onto a single.php page, so Infinite Scroll only has one extra post to include. In which case I could try to include more posts into the page’s main query (so far I’ve been unsuccessful).

    2. Infinite Scroll is activated by some mechanism that isn’t reproduced when it displays the second post. For example, Infinite Scroll maybe grabs the URL from the “Next Post” button and retrieves that post to display. If no extra “Next Post” button is created then Infinite Scroll will have no more posts to work with. If this is the case, I’m not sure what to do.

    Does anyone have any advice?

    Right now I’m reading this tutorial to find more clues. https://www.netmagazine.com/tutorials/master-wordpress-loop

    bump

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Why doesn't it work on singular pages?’ is closed to new replies.