Home › Forums › Backend Issues (wp-admin) › Using Conditional Logic for a Post Category › Reply To: Using Conditional Logic for a Post Category
This image shows the field that is set with the condition to only show when a field above it, which is a radio button is set to yes. By default the radio button is set to no.
This image shows that the filed should only be showing on posts that are part of the knowledge category.
This images shows the add new page when the knowledge category is selected. You can see that the field that is supposed to be hidden “Premium Content Downloads” is showing when no is selected.
Just to note, when I go to add a new post, and select the knowledge category, then change no to yes then back to no, the field hides. It’s only on the initial page load and selection of the category that the fields that are supposed to hide don’t. I hope this makes sense, if not let me know. Thanks!
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!
🚨 The 2023 ACF Annual Survey closes tomorrow! This is your last chance to complete the survey and help guide the evolution of ACF. https://t.co/0cgr9ZFOJ5— Advanced Custom Fields (@wp_acf) May 18, 2023
© 2023 Advanced Custom Fields.