title: Wordpress: How to combine keyword search and meta filter in WP_query
body: <p>I am trying to combine the search by keyword and meta_key and meta_value filter in WP_query. Keyword search and meta filter works good independently, but together are not. How to get it done? Thanks!</p>
  
  <p>Here is my code:</p>
  
  <pre><code>if ( isset($_REQUEST['search']) AND $_REQUEST['search'] )
  {
      $query_param = array( 's' =&gt; urldecode($_REQUEST['search']), 'post_type' =&gt; GOODS_POST_TYPE );
      $query_param['meta_key'] = 'sku';
      $query_param['meta_value'] = urldecode($_REQUEST['search']);
  }
  $query = new WP_Query($query_param);
  </code></pre>