This support ticket is created 2 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
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?