Hi guys,

I am trying to add a search string to the query_posts() function in WordPress to be able to perform a search by multiple strings. However, I am not sure how to build the $args array that way.

The following works if I want to search by "string1":
PHP Code:
$args = array( 's' => 'string1');
query_posts($args); 
But if I wish to search by "string1" OR "string2", my guessing was wrong about the following which doesn't work:
PHP Code:
$args = array( 's' => array( 'string1''string2' ));
query_posts($args); 
Is there a way to handle this task properly, please?