Pagination error with 5 items, works with 10

That makes sense.

You can however use multiple paginations on a single page by using a different parameter for the sidebar pagination:

$articles = $articles->paginate(5, array('variable' => 'sidebarpage'));

Then it shouldn’t confuse Kirby anymore.

4 Likes