Forum
Schedule Start and End Date to post content
I have had a few requests now to be able to add a notice of of items of content and then schedule when they appear on the site, ie between 2 dates. Is this even possible as I've tried using eqbetween to achieve this but have had no success?
Yes, that's possible. What code are you using, and how is it failing?
I have these three items in my template
And on my page
What I need to know is how to only display the item if today's date falls between or on the datestart & dateend
It's OK, I worked it out I think using
You're actually only filtering by
dateend
there, as you reset the options each time you reuse them.Instead you need to use an array of filters:
Thanks, Perfect!