Categories
Code WordPress

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.

By Zack Katz

Zack Katz is the founder of GravityKit and TrustedLogin. He lives in Leverett, Massachusetts with his wife Juniper.

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

Comments are closed.