Support

Account

Home Forums ACF PRO Issue with Custom Field Filter Reply To: Issue with Custom Field Filter

  • I’ve tried setting up a simple test like this. I’ve created fields named bedrooms, city and state. It appears to be working.

    2 thinks, this code should look something like this:

    
    $GLOBALS['my_query_filters'] = array( 
      'field_565712fdeba5c'	=> 'city', 
      'field_565713a9eba5d' => 'state',
      'field_565713e2eba5e'	=> 'bedrooms'
    );
    

    These are field keys and field names for each field

    Make sure that you visit settings => permalinks and save it to make sure that you’re CPT archive is working.