In Kirby 2.3.2 (online version), with a snippet “blog.latest.home” (see below) set to “paginate(8)”, I get 8 latest posts on a home page as expected.
In Kirby 2.4.x (localhost version), with the same snippet and settings, I get only 3 latest posts…
…with “paginate(12)”, I get 5 posts…
…with “paginate(16)”, I get 9 posts…
I don’t really know why this fails (would need more information like the template and controller where the snippet is used), but for just fetching the 8 latest posts, the paginate() method is not the right method to use, anyway. Use limit(8) instead.
Hi, Texnixe
as usual you’re very responsive, thanks.
Limit() is better then paginate(). I changed.
There is no controller for my home page.
I guess the problem comes from a different approach of code by newer Kirby (but that the initial conflict may lay somewhere in my code, not necessarily at the level of the one you see below).
Full snippet code (previously it was just a part of it) :