I have two conditional statements that I am trying to implement for my view loop to display correctly. The first one works correctly, it is the below code, and it only displays the shortcode if the "shiur-starts-sunday" field is not empty:
[wpv-conditional if="( $(wpcf-shiur-starts-sunday) ne '' )"]
I input this second conditional statement right after the previous one, for if the field IS empty to display a string of text "No Shiur Today", however for some reason this conditional statement is not working:
[wpv-conditional if="( empty($(wpcf-shiur-starts-sunday))) )"] No Shiur Today.[/wpv-conditional]
Would you happen to know where I am going wrong in this second statement?
Without looking too deeply, in your second shortcode the if attribute has three opening parentheses and four closing parentheses, so is syntactically wrong.
Remove one of the closing parentheses, does that work?