Events Made Easy Forums How do I … display one past event and all future events?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #42841
    Anonymous
    Inactive

    Is there a way to have my events list pull the one most recent past event and all upcoming events?

    Thanks!

    #47758
    Franky
    Keymaster

    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

    #47759
    Anonymous
    Inactive

    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.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top