• Resolved kaydeeweb

    (@kaydeeweb)


    Hi there, can you send to me the short code to display one event, but it should be the event after the latest event. So, the second to latest event.

    For the latest event I am using:

    [events_list limit=1 category=5]
    #_EVENTNAME
    #_EVENTIMAGE{200,100}
    #_EVENTEXCERPT
    #_EVENTDATES #_EVENTTIMES
    [/events_list]

    Can I do the latest event +1? Thanks

    https://www.ads-software.com/plugins/events-manager/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    try something like

    [events_list limit=1 category=5 order=”DESC” orderby=”event_date_created”]
    #_EVENTNAME
    #_EVENTIMAGE{200,100}
    #_EVENTEXCERPT
    #_EVENTDATES #_EVENTTIMES
    [/events_list]

    Thread Starter kaydeeweb

    (@kaydeeweb)

    Thanks Angelo, but that gives me the ‘next event’, as per my code. I need the next event plus one.

    Try switching your shortcode to:

    [events_list limit=1 offset=1 category=5]

    Thread Starter kaydeeweb

    (@kaydeeweb)

    Hi Caimin, that’s it! Thanks so much. Offset worked a treat.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Display the next latest event’ is closed to new replies.