[Plugin: Events Manager] Ongoing Events in Events List
-
I cut this off from this Post as it became its own topic.
There is the shortcode for listing the events
[event_list]
with a set of parameters.I think, there is a useful parameter missing that prevents the all of the recurrent events from showing in the list.
I am able to remove all, but the intention is to get the NEXT recurrent event to show up with an extra label indicating the “ongoing” of the actual recurring event.Here a more explanatory way of describing my “wish”
————————————
Event: XYZ Classes
Start-End: 1 July 2011 – 1 October
Recurrence: Every FRI, 18.00-19:00
————————————
Event List GOAL:
26. August: XYZ Classes (Series, ongoing, Fridays until 1 October)
17. September: Other Event
4. October: Workshop
…
————————————Primarily I need to get rid of all the repetitions in the event list.
A recurring event is a single event representing a series.Clarifying the two parameters for event_list that work with recurrence:
“recurring”: The event defining the recurrence (first event date)
“recurrence”: The events that are “clones” of the first, initiating event (the recurring event above)The recurring Event might be still ongoing, and you would like to inform it is still “there”.
The missing parameter seems to be showNextRecurrencentEvent=1:
[events_list showNextRecurrencentEvent=1 scope=future]
:
Example output (formatting could be customizable)
Current Date: 26 Aug:
1. 2 Sep: Event “Course beginner” 9 Units (last Unit 28 Oct)
2. 5 Sep: Event “Course Advanced” Unit 7 (ongoing since 25 July)
3. 15 Sep: Event “Workshop”And this extra scope should then also be added to “Event list scope” (global settings) for global search on the associated EVENTS page if used.
Perhaps I will try to create my shortcode using the events get method and filter the array in a seperate plugin. But I think, this feature would enrich this plugin more as it should be a quite common use case.
- The topic ‘[Plugin: Events Manager] Ongoing Events in Events List’ is closed to new replies.