Following up on a previous question of mine: How to skip the first few entries in a "load more" scenario with Element API?
I have a website that utilizes the "load More" (button) method shown here: http://craftsnippets.com/articles/infinite-scrolling-and-lazy-loading-with-craft-cms
On my site, I have a homepage that displays the first 6 post in a featured way, then below I have a "more posts" area. In my previous question, I was shown how to deal with skipping the fist 6 posts in the loop of the "load more" area.
However, I want to use the "load more" button elsewhere on the site. Such as:
- Category Page – Same as the Homepage, but only showing more entries in whatever category the page is.
- Individual Entry Page – In this instance I need the "Load More" area to not skip the first 6 entries.
I can't seem to figure out how use this method in different ways across the site, because the settings for one instance bleeds into the other instances. So, how can I accomplish this? (sorry if this is basic stuff. dealing with API is still new to me)