Skip Navigation

[Résolu] conditional date not working

This support ticket is created Il y a 3 années et 1 mois. 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.

This topic contains 1 réponse, has 1 voix.

Last updated by Ido Angel Il y a 3 années et 1 mois.


I have this conditional to display a view if the date set in the custom field is greater than today, and if the date has passed - hide the elements:

[wpv-conditional if="( $(wpcf-final-date) gt ('TODAY()') )"]
sale still on
[wpv-conditional if="( $(wpcf-final-date) lte ('TODAY()') )"]
sale closed

But it isn't working. Is there something I'm doing wrong?


My issue is resolved now. Thank you!