How to View All (or more) Posts at once in WordPress Administration

Here’s the deal: I wanted to be able to temporarily see all the posts at once in the WordPress Administration, so I went into the wp-admin folder, and poked around, and became frustrated: it wasn’t that simple!

Go to /wp-admin/includes/post.php and scroll to line 517. You will see
wp("post_type=post&what_to_show=posts$post_status_q&posts_per_page=15&order=$order&orderby=$orderby");

Change the posts_per_page value to whatever you want it to be. Note: deleting the code will not let you view all posts.

WARNING: I don’t ever like to modify the default WordPress files, because when they get updated, you’ll be screwed. This is a only a temporary fix. It will not last if you update WordPress.

Author: Zack Katz

Zack Katz is the President of Katz Web Services and the developer of WordPress plugins with over 700,000 downloads. He lives in Southwest Colorado with his wife and two cats.

2 thoughts on “How to View All (or more) Posts at once in WordPress Administration”

Leave a Reply

Your email address will not be published. Required fields are marked *