Home › Forums › Backend Issues (wp-admin) › Conditional logic with multiple if(get_field()) › Reply To: Conditional logic with multiple if(get_field())
Hi @ddressel,
Thanks for the post.
I don’t think you need the parent conditional block since you are also checking if the value of the field is empty within the class.
From the logic that you have set up, the class will be called if any of four fields is true and thus the fields should show up.
I would recommend you debug all the values from the get_field() calls to check if the expected data is getting returned.
Please have a look at our debugging tutorial here: http://www.advancedcustomfields.com/resources/debug/
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.