If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
Quick question: How can I change the articles per page for archive.php? Or turn the pagination off so that all posts are shown
Under wordpress Settings>Reading>Blog pages show at most. That is the number that wordpress should be using to determine pages.
But what if I want to have a different pagination in the archive.php than in the blog overview?
If I want 50 articles per page in the archive.php, it doesn’t work if I write $pagination(50)
Unfortunately wordpress doesn’t offer this feature right out of the box. you would need to modify the query in the archive.php file before running the loop.
this would probably work if you want to display all items for example:
Between line 2 and 3 of archive.php add the following code:
The topic ‘Customize Pagination in Archive.php’ is closed to new replies.