Bill Erickson's infinite scroll for after single posts/categories?

Homepage Community Forums Vintage Theme Support Bill Erickson's infinite scroll for after single posts/categories?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #18715
    Matthew
    Customer

      Hello,

      I recently stumbled across Bill’s excellent tutorial on adding infinite scroll to wordpress themes without any plugins: http://www.billerickson.net/infinite-scroll-in-wordpress/

      After reading through the gist I’m trying to figure out how I could edit it and apply it to my current child theme.

      I managed to identify the css triggers:

      .content
      .pagination
      .archive-pagination div.pagination-next a (so long as I’m using a Prev/Next pagination rather than numbers)
      .post

      But I’m not sure how Bill’s code could be edited to infinite scroll the:
      a) Category pages (instead of number pagination)
      b) After single posts (after the comments section)

      To load more posts using the genesis hooks for placements. Is there any tutorials out there that can guide me in the right direction?

      Thank you.

      #18757
      Wes
      Moderator

        Not sure, I’ve never used that plugin before so I don’t want to make any wrong guesses. I’d recommend Googling, or maybe asking Bill directly to see if he knows of any tutorials available.

        If anyone else out there has any experience with this plugin feel free to share!

        #18770
        Matthew
        Customer

          Howdy Wes,

          Thank you for your response.

          Bill’s tutorial is not a plugin, but a function and a piece of javascript that can be added to the child theme in order to modify its pagination behavior.

          I asked Bill, and he said the solution would be to ask the theme developer as you’re familiar with the structure and elements of the child theme that need to be edited in one of the functions lines (‘be_post_summary()’ replaced by whatever function is used to load the posts excerpts in the category page) to ‘trigger’ the javascript loading the next page.

          Hopefully somebody knows, as it seems like a wonderful idea creating a ‘stream’ of loading content as we’ve all become use to facebook/twitter-like feeds of content.

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.