Hello,
Quick question: How can I change the articles per page for archive.php? Or turn the pagination off so that all posts are shown
thx
Hello,
Quick question: How can I change the articles per page for archive.php? Or turn the pagination off so that all posts are shown
thx
Hi mehrblick,
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)
Hey!
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:
global $query_string; query_posts($query_string.'&posts_per_page=9999');
You must log in to post.