[wp-hackers] Changing the number of search results
Matt Read
lists at mattread.com
Sat Sep 25 01:17:57 UTC 2004
Here's what I do. I have my settings set to show posts paged, then, ABOVE
require("./wp-blog-header.php"); in the index.php I put the following:
if ($s) $posts_per_page = 25;
So if there is a search show 25 posts.
On September 24, 2004 6:03 pm, Michael Heilemann wrote:
> Is there a way to override, in the search file, how many results the
> search page throws at you? By default it uses what you set up in the
> admin.
More information about the hackers
mailing list