New answers tagged

1

Recently i needed such thing again and this time i foud out how to do this: {% set query = craft.entries %} {% set paginator = create('craft\\db\\Paginator', [query, { pageSize: 3, currentPage: craft.app.request.pageNum, }]) %} {% set pageInfo = create('craft\\web\\twig\\variables\\Paginate').create(paginator) %} {% set pageResults = paginator....


Top 50 recent answers are included