WP_Query pagination on custom front page template
-
Any reason why on the following super simple query https://pastebin.com/fnNW2qSt pagination will not work? The query is placed into a custom page template, set as front page with pretty permalinks set on “post-name” and no other query on the page. The pagination has no effect, the page simply refreshes with the same posts.
Funny thing is, if i add ?page=2 at the end of the url of the homepage, pagination works just fine.
Any idea how to solve this?Already spent 2 hours on this with no luck… Thank you.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘WP_Query pagination on custom front page template’ is closed to new replies.