$string) { $query_split = explode("=", $string); $search_query[$query_split[0]] = urldecode($query_split[1]); } // foreach $the_query = new WP_Query($search_query); if ( $the_query->have_posts() ) : ?>

Search

have_posts() ) : $the_query->the_post(); ?>
>