Support

Account

Home Forums General Issues Multiple relationships in a query Reply To: Multiple relationships in a query

  • Hi @guiloviu

    Looking at the code you have posted, there is clearly a problem with the way you have nested your arrays.

    For example, you have

    
    'relation' => 'AND',
    

    and

    
    'relation' => 'OR',
    

    in the same array.

    I think you should take another look at the WP_Query docs and also post this question on stack exchange as it does not involve any ACF specific functions.