- This topic has 2 replies, 2 voices, and was last updated 13 years, 6 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › display one past event and all future events?
Is there a way to have my events list pull the one most recent past event and all upcoming events?
Thanks!
Create one page with at least this as content:
[events_list scope=past limit=3]
[events_list scope=future limit=0]
See http://www.e-dynamics.be/wordpress/?cat=18 for all options
Thanks Franky, but I was hoping to do it in a single query. Why, you ask? So that it won’t show the “no events” message from the scope=future query if all I have are past events (a common occurrence with my group in the days immediately following our monthly meetings, before we’ve scheduled the next one).
I guess I’ll just set the no-events message to be empty as a workaround for now, but then I end up with an empty <li>
, which looks pretty tacky.