In the wordpress admin you can set "Blog pages show at most" under Settings>Reading
Is it possible to get the value of that to use in my theme? Could I also alter its default setting from my theme pages without going trough the admin? (set it to 20 for example)
Thanks dor your help guys!