Archived topic
How to increase number of posts at any archive page?
3 replies · Started by Juned on December 8, 2022
Hi,
From where do I increase the number of posts at any archive page (made from custom taxonomies)?
Hi there,
in Settings > Readings the: Blog pages show at most value is what defines the number of posts for the main query. Try changing that.
If that doesn't work then it means some other code is changing the query for that post type.
Hello,
in Settings > Readings > Blog pages show at most value > is 20. Still it is showing maximum numbers as 7.
Kindly suggest further.
Hi Juned,
There may be another code causing this. Do you have custom PHP snippets? If so, can you check if one of them has this "pre_get_posts"?
If you don't have any, can you try #1 here?: https://docs.generatepress.com/article/debugging-tips/