1

Under Settings > Reading, there is a field called Blog pages show at most __ posts. Since all of my queries are based off of the main query, I need to find out what's stored in that field. How would I do that, especially outside of the loop?

7

You can get that value with

get_option('posts_per_page');
| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.