• Resolved ffrank

    (@fagfrank)


    Hi,
    I want to show on my page the last 5 past events, then I put this shortcode
    [events_list scope=”past” limit=5 pagination=0]
    but the result is that the first 5 events are displayed.
    What am I doing wrong?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi,

    This is working fine for me. Which version of Events Manager are you using?

    Thread Starter ffrank

    (@fagfrank)

    I’ve installed the last plugin version: the 5.6.6.1

    Maybe
    [events_list scope=”past” limit=5 pagination=0 order=”DESC”]

    • This reply was modified 7 years, 7 months ago by leleuf.
    Thread Starter ffrank

    (@fagfrank)

    Hi Leleuf62,
    I’ve tried your code but the results are the same as my code, so it does not show the last 5 past events.
    If I enter this code [events_list scope=”all” limit=5 pagination=0 order=”DESC”]
    …these events are listed:

    1. 30/05/2013
    2. 17/04/2015
    3. 14/12/2013
    4. 20/05/2016
    5. 20/03/2015

    I do not understand if the plugin is bugged or the shortcode is wrong!

    I also enabled the Events Manager widget, configured to return “ALL” Events (3 events listed) sort by “NAME, START TIME, START DATE” with list sorted in DESCENDING MODE and here the returned events were:

    1. 21/11/2013
    2. 12/06/2015
    3. 15/04/2015

    Where is my mistake?

    And with :
    [events_list scope="past" limit=5 pagination=0 orderby="event_end_date" order="DESC"]
    ?

    Thread Starter ffrank

    (@fagfrank)

    Guys,
    I’m solved.
    Everything works regularly by entering this grouping code:

    [events_list_grouped mode=”monthly” scope=”all” order=”DESC”]<b>#_EVENTLINK</b><br/><b>#_LOCATIONTOWN</b> // #_EVENTDATES ore #_EVENTTIMES<br /><br />[/events_list_grouped]

    ??

    • This reply was modified 7 years, 7 months ago by ffrank.
    Thread Starter ffrank

    (@fagfrank)

    Hi Leleuf62,
    Your last code make the same results as the previous one.
    The grouped code I’ve written in my last post, works correctly ??
    Thank you for your support

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to show the last 5 past events?’ is closed to new replies.