I get asked a lot how/what the selectors are in infinite-scroll and how to figure them out. So lets start from the beginning.. infinite-scroll uses jQuery selectors (which are based on CSS selectors) to find content and posts in order to load the content from the next page. Because web pages are different, we need to define ourselves what selectors infinite-scroll should use.
Infinite-Scroll uses four selectors, these are:
- nextSelector
- navSelector
- contentSelector
- itemSelector
It’s probably easiest Continue reading