• askrobinou

    (@askrobinou)


    Hello everyone,

    I need help because I’ve been trying to do this for a few days but I can’t get it to work.

    I have a number of recurring events. I want only the first recurring event to appear but not the second ones. The first occurence of every reccuring event should appear. I am using the grid view.

    I have the same issues with “related events”. Under each event (reccuring event) it only shows the next occurences of this event) but I want to show other events…

    I found this code in the forum:

    [events_list scope=”future” limit=”1″]<h5>#_EVENTDATES #_EVENTTIMES <b>#_EVENTLINK</b></h5> [/events_list]

    But it doesn’t work and only shows me one event in these cases (when I have plenty of events with different names.

    Could you help me?

    Thanks

    • This topic was modified 1 year ago by askrobinou.
    • This topic was modified 1 year ago by askrobinou.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi

    i’m searching for the same feature.

    It seems that the code you found shows only one event (limit=1) and not the first occurrence of every event. If you find a solution, please share it here!

    Thanks ??

    I’v dug into the doc and found this relevant page:

    https://wp-events-plugin.com/documentation/event-search-attributes/event-location-grouping-ordering/

    it seems that the code we are looking for is this one:

    [events_list groupby=”recurrence_id” groupby_orderby=”event_start_date,event_start_time”]

    Hope this is of any help!

    Cheers

    TreeTrail

    (@aprilschmitt27)

    Using something like the below on your page, will limit the display to only the next 2 occurrences. Substitute your own category number:

    [events_list category=”55″ scope=”future” limit=”2″]<h5>#_EVENTDATES? #_EVENTTIMES??? <b>#_EVENTLINK</b></h5>

    [/events_list]

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Display only the first occurrence of a recurring event in the list’ is closed to new replies.