Recent Topics

1 Apr 29, 2006 15:57    

In b2evo v 0.9.1, when I go into the admin area to edit posts, the default number of posts I see at one time is 5. I can type in a larger number, but I'd like the default number to be larger than 5. How can I edit that? Thank you!

2 Apr 30, 2006 07:11

It uses the posts per page setting from the Settings tab for that value. You can override it for the backoffice if you don't want to change the number of posts that show per page on your blog, too. Here's how.

Open up /admin/_edit_showposts.php and find this line:

param( 'posts', 'integer', '', true );      // # of posts to display on the page


Change it to this:

param( 'posts', 'integer', '25', true );      // # of posts to display on the page


Of course, where the 25 is you can put whatever number you want. You'll still be able to enter a number in the blank in the usual way, but now the default will be whatever you set here.


Form is loading...