Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Part of a custom post type that I am building needs to simulate page 1 of a category archive. How can I found out how many posts are displayed per page across the WordPress installation? (I assume it is in wp_options but I cannot find it.) Thank you!

share|improve this question

1 Answer 1

up vote 0 down vote accepted

The option is appropriately named posts_per_page. FYI you can see the value of options in your database by visiting wp-admin/options.php.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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