Problem:
Display Condition to show content 'X' days before a date field
Solution:
You can use date functions that will help you to compare the custom date field with [wpv-conditional] shortcode.
You can find the proposed solution, in this case, with the following reply:
=> https://toolset.com/forums/topic/display-condition-to-show-content-x-days-before-a-date-field/#post-1120454
Relevant Documentation:
=> https://toolset.com/documentation/user-guides/date-filters/
=> https://toolset.com/documentation/beyond-the-basics/conditionally-show-content/#strike-through-event-dates-that-have-passed
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.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Kolkata (GMT+05:30)
This topic contains 2 replies, has 2 voices.
Last updated by 6 years, 3 months ago.
Assisted by: Minesh.