WordPress display only 15 posts in the “Manage” section by default. As a wordpress blogger or adminstrator, this can sometimes be quite limiting. Unfortuntely, there isn’t any known variables or parameters that you can pass through the URL to tell this section to return you with the number of posts that you would like to see. However, there’s a solution.
Digging through the code got me to the solution.
1. Open up /wp-admin/includes/post.php.
2. Search for the function wp_edit_posts_query()
3. At the end of this function, you will probably find this line of code:
wp(“post_type=post&what_to_show=posts$post_status_q&posts_per_page=15&order=$order&orderby=$orderby”);
4. Aha, posts_per_page! That’s what you will need to change. Change 15 to the number of posts you’ll want to see in the Manage section. I usually set mine to 50 anyway.
That’s about it. Too bad the WordPress team didn’t even define a variable for that. It was simply hardcoded at 15!
Update
You wouldn’t need to do the above anymore in newer versions of wordpress as there is now a setting under screen options where you can determine how many posts/comments you want to see in edit/comments respectively.
arrariv says
thanks!
slobjones says
I don’t know if they’ve changed the file in v2.6.3, but the wp_edit_posts_query is no longer present in post.php.
Care to update this procedure?
David says
WordPress 2.7 will be coming out real soon, so I’ll wait before doing any updates to this post.
DY Feng says
That’s great!!Just what i want to know!!Thx
Renan says
Thank Very nice “how to” thanks a lot
David says
@commentators,
this post has been updated since wordpress can let you define how many posts you want to view in the manage (edit) post section. Please view screenshot above.
sunarso says
fabolus tips, i think we need a skill to edit the file, when i read this tips i laugh cause i dont need to edit anything