Manually call function to load more posts
-
I have a site that I’m using Catch Infinite Scroll on that also has some basic filtering functionality to hide certain posts. The problem is, sometimes it can hide enough posts that the bottom of the page becomes visible but because there wasn’t a scroll event, the trigger to load more posts isn’t hit.
I’d like to tweak the filter function so that it automatically triggers more posts to load if the remaining posts is lower than a certain number, but I can’t find the correct js function to call in CIS. Looking through the code, it looks like I should be able to call
ctis_load_more();
but that doesn’t seem to work.Is there a function I can call to arbitrarily load more posts?
- The topic ‘Manually call function to load more posts’ is closed to new replies.