I have personalized a style and am getting some issues with search engine results using multiple-word queries. Website is live at world wide web.abetterworldbydesign.com

Hunting for a single word works not surprisingly.

Trying to find multiple words which should have came back results shows blank results.

Code for searchform.php below.

<form id="searchform" title="searchform" method="get" action="<?php echo home_url() ?>">

    <div>

        <input type="text" id="s" title="s" />

        <input type="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'richwp' ) ?>" />

    </div>

</form>

My code searching.perl for initializing Wordpress_Query follows exactly the code indexed by the codex. Full code for search.php on pastebin.

I'd guess you have to decode the search phrase you're removing in the query string, like so: $search_query[$query_split[]] = urldecode($query_split[1]). Although, you can most likely only use Wordpress's get_query_var function rather than everything code.

Line 16 of the search PHP

$query_args = explode("&lifier", $query_string)

Try altering for this

$query_args = explode(" ", $query_string)