I'm currently working on this website and a test shows that the search page isn't working properly. Every time someone searches for something, it comes up blank. The code for the search page is as shown below.
Search Form:
<form role="search" method="get" id="searchform" action="/search/" >
<div><label class="screen-reader-text" for="s">Search for:</label>
<input type="text" value="" name="s" id="s" />
<input type="image" src="<?php bloginfo('stylesheet_directory'); ?>/images/searcher1.png"id="searchsubmit" value="Search" />
</div>
</form>
Search Page:
<?php
if ( isset( $_REQUEST[ 'search' ] ) ) {
// run search query
query_posts( array(
's' => $_REQUEST[ 'search' ],
'post_type' => $_REQUEST[ 'post_type' ],
) );
// loop
if ( have_posts() ) : while ( have_posts() ) :
// loop through results here
endwhile; endif;
// return to original query
wp_reset_query();
}