title: Wordpress: Multiple Search Criteria on Custom Fields?
body: <p>I'm just an basic Wordpress user. I need to make search box with <strong>multiple criteria</strong> inputs (multiple conditions) to search <strong>inside various Custom Fields</strong>.</p>
  
  <p>For example including following <strong>Custom Fields</strong>:</p>
  
  <p>Color: <strong><em>_</em>___<em></strong><br>
  Size: <strong></em>__<em>_</em>_</strong><br>
  Price: <strong><em>_</em>__<em></strong><br>
  Condition: <strong></em>__<em>_</em></strong><br>
  Discount %: <strong><em>_</em>__<em></strong><br>
  Hit Count: <strong></em>__<em>_</em></strong><br></p>
  
  <p>User may input <strong>1 or more</strong> fileds.<br>
  Result should be filtered for multiple input also.<br>
  So, how can i handle this multiple conditions in Query?</p>
  
  <p>It is <strong>ok for every single inputs</strong>.<br>
  But, problem with more then 1.<br>
  I'm confusing how to write query <strong>for multiple criteria</strong> (in former way).<br></p>
  
  <p>A simple sample please.</p>