Home › Forums › Backend Issues (wp-admin) › Field group location rules – conflict on initial load › Reply To: Field group location rules – conflict on initial load
Sure, feel free to post your login details.
I still think the issue is with the default category.
When a new post is created, it has NO categories associated with it. ACF is smart enough to realize this empty value, and pretend the value is actually the default one (‘testing’).
Perhaps this is why your location rules are not working. Can you edit the Field group B location rules to only:
post_type = post
category = ‘testing’ (uncategorized)
This should show correctly for new posts with no category selected, but not for posts which contain a specific category
Can you try this first?
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've just released ACF 5.12.3 with a security fix to prevent arbitrary file uploads to forms with ACF fields.— Advanced Custom Fields (@wp_acf) July 14, 2022
Now that we've released this update, we recommend updating your sites as soon as possible.
© 2022 Advanced Custom Fields.