Support

Account

Home › Forums › General Issues › Another Issue with Filtering by Multiple Keys › Reply To: Another Issue with Filtering by Multiple Keys

  • The state select field is simply a list of all US states, i.e.

    Alabama
    Arkansas
    etc

    I may have made this more complicated than it needs to be including the array portion of my other function. Let’s make this simpler.

    I’m passing a $city and $state variable to this code.

    I need to loop through and display all pages that have ACF values equal to these $city AND $state variables. Right now I am able to match ONLY the city or ONLY the state, but not both.