HI,
i’m trying to show some posts on my front page with the pagination, but i still have an error:
when i go to the second page through the pagination i have always the first link as current; and i can’t go back to the first page.
this is the code of my front-page.php
Have you tried it on a different template in Roots? The query is set up differently in front-page.php, depending on the reading settings in the dashboard.
Hi,
i tried the code in the custom template and the pagination works perfectly.
about the reading settings in dashboard: i have the static page selected and the last 9 posts.