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

September 4, 2008

in Code,WordPress

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.

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • StumbleUpon
  • Technorati
  • Twitter

Related posts:

  1. Admin Drop Down Menu plugin does not break WordPress 2.5 Image Uploader [updated]
  2. How to tell if your WordPress Plugin or Widget is Activated in WordPress
  3. Constant Contact WordPress Widget – Add a Newsletter Signup Form to your Sidebar
  4. Get Adjacent Images – More WordPress Functions
  5. How to Display a Random Testimonial or Post in WordPress

Leave a Comment

Previous post:

Next post: