• Resolved J.Parra

    (@jparra-1)


    Hi.

    Is it possible to show the last two (or X) events from the current date?

    Thank you very much

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Brian Hogg

    (@brianhogg)

    Hi

    This should do the trick:

    [ecs-list-events past='yes' limit='2']

    changing the limit option to the number you wish.

    Hope that helps, if not let me know!

    Thread Starter J.Parra

    (@jparra-1)

    Thanks Brian for your response.

    That code shows me the two “first” past events, that is, the first two from the beginning.

    But with order = ‘DESC’ I have achieved what I wanted, to list the last two events that have just happened.

    [ecs-list-events past = ‘yes’ order = ‘DESC’ limit = ‘2’]

    Thank you very much for your help. Greetings.

    Plugin Author Brian Hogg

    (@brianhogg)

    Thanks for the update and glad you got it displaying the way you’d like!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘List X past events’ is closed to new replies.