Home › Forums › Backend Issues (wp-admin) › Location rules not working › Reply To: Location rules not working
I think you want AND relationships on your rules instead of OR.
For example, looking it the 3rd rule. Post Type is not equal to Review
A post of type FAQ is not equal so this is true and the field group will be shown on the FAQ post type even with the rule above it.
is not equal to
is difficult to use by itself.
For example, if you want this group to show up on pages except for contact us then you should use.
Post Type is equal to Page
AND
Page is not equal to Contact Us
This will also prevent the group from showing on Review and FAQ post types because they are eliminated by the first part of the location rule.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.