Support

Account

Home Forums Bug Reports Slugbug? Reply To: Slugbug?

  • Hi @YourMark

    Your field group contains 3 location rules which will never return true for ALL of them being correct on the same page.

    All 3 rules are in the same ‘AND’ group. You need to break out the options rule into it’s own group to make it an ‘OR’.

    You can use the ACF UI to create the field group, then export the field group to PHP and see how the location rules are grouped in arrays.

    As for the get_field function. Please describe where you have used it. and Provide the code too.

    Thanks
    E