Putting the following snippet in your theme’s search.php, you will be able to do so. Start by finding the below code in your search.php file:
1 2 | <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> |
Once you found it, simply replace it with:
1 2 3 | <?php $posts=query_posts($query_string . '&posts_per_page=-1'); ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> |
Snippet Source/Credit: WPHacks