Support

Account

Home › Forums › Front-end Issues › Custom Archive Filter – Multiple Choice › Reply To: Custom Archive Filter – Multiple Choice

  • So are you saying this would work like this, @elliot?

    if( isset($_GET['foo']) ) {						
    
    $foo = explode('|', $_GET['foo']);		
    
    $meta_query[] = array(
    'key'		=> 'foo',
    'value' => '"' . $foo . '"',
    'compare'	=> 'LIKE',
    );
    }