Find the line
wp(“post_type=post&what_to_show=posts$post_status_q&posts_per_page=15&order=$order&orderby=$orderby”);
Its 805th line in wordpress 2.7, line number might be different in different versions, so better find (CTRL+F) the line of code above in wp-admin/includes/post.php
Replace 15 in posts_per_page=15 by some higher number you wish, Lets say 50, the code code after change must look like this
wp(“post_type=post&what_to_show=posts$post_status_q&posts_per_page=50&order=$order&orderby=$orderby”);
- Permalink
- The Analyst
- 8 Jan 2009 11:10 PM
- Comments (5)
March 7th, 2009 at 10:12 am
thanks, this helped me a lot
April 10th, 2009 at 2:12 am
Thanks!
August 25th, 2009 at 11:10 am
Sure Erick, it would be the dumbest way to search for the line I mentioned, it keeps changing with newer versions.
Searching for that line of code I mentioned above might be proper ( and proper only if the file’s name or location remains same)
December 17th, 2009 at 12:31 pm
You have no idea how long I’ve been looking for this. Thanks for the tip.
I just searched for “15″ and it came up.
For the record if anyone is looking for it in 2.8.x, the line you should search for is:
$posts_per_page = 15;
January 4th, 2010 at 5:28 am
Thank you so much! This has been driving me crazy forever!