Support

Account

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/