Home › Forums › Calendar Products › Events Calendar PRO › Creating an archive of events that have passed
- This topic has 6 replies, 3 voices, and was last updated 7 years ago by Cliff.
-
AuthorPosts
-
April 20, 2017 at 4:36 am #1272054Florian ZumfeldeParticipant
Hi,
Now that we’ve been using your Events Calendar Pro plugin for almost over a year we would like to create a dedicated page
for events that have passed.We’re trying to filter out those events by categorizing passed events a ‘past-events’ and using the shortcode [tribe_events_list category=”past-events”] shortcode but it’s not recognizing categorized past events, i.e. displaying a ‘There a no upcoming events at this time’. Obviously not as I’m trying to display past events š
Am I’m missing a trick here?
Any thoughts welcome on how to achieve that Archive of past events’.
All the best,
FlorianP.S. We’re aware of the http://www.swahsn.com/events/list/?tribe_event_display=past link but that would be a rather clunky work around.
April 21, 2017 at 5:34 pm #1272945CliffMemberThanks for your thorough request, Florian.
Does it help thatĀ http://www.swahsn.com/events/past/ works, or is that not good enough for some reason?
April 24, 2017 at 2:04 am #1273299Florian ZumfeldeParticipantThank you for your reply Cliff.
Correct me if Iām wrong but http://www.swahsn.com/events/past loads http://www.swahsn.com/events/list/?tribe_event_display=past, yes?
Well, itās good that itās works but itās not quite good enough as it involves a lot of scrolling and clicking.
We would like to scan past events easier and faster. Hence why we like the [tribe_events_list} shortcode. Here it is with upcoming dates http://www.swahsn.com/past-events-archive-test/
This would be perfect for an archive but it doesnāt display past dates. Is there anything we can do to achieve this or similar?
Regards,
FlorianApril 24, 2017 at 9:31 am #1273488CliffMemberThat’s correct (about the URL).
===
I believe you’re requesting the same thing as one of our existing feature requests:Ā https://tribe.uservoice.com/forums/195723-feature-ideas/suggestions/13101369-past-events-widget
Please do add your voteĀ there.
This allows us to gaugeĀ interest in this particularĀ feature request, which helps us prioritize our development efforts.
===
PRO’s Advanced List Widget is here: /wp-content/plugins/events-calendar-pro/src/views/pro/widgets/list-widget.php
The core/free List Widget (which PRO’s replaces) is here:Ā https://github.com/moderntribe/the-events-calendar/blob/4.4.5/src/views/widgets/list-widget.php
It calls the function fromĀ https://github.com/moderntribe/the-events-calendar/blob/4.4.5/src/functions/template-tags/widgets.phpĀ (see the tribe_get_list_widget_events filter), which callsĀ https://github.com/moderntribe/the-events-calendar/blob/4.4.5/src/Tribe/List_Widget.phpĀ (or theĀ tribe_events_list_widget_query_args filter)
That’s about as much help as I can provide toward this, since it would require custom coding.
April 24, 2017 at 9:59 am #1273507Florian ZumfeldeParticipantI’ve added my vote to the feature request and have taken note of the links provided. We’ll get our dev to look at this and do his magic.
Thanks Cliff.
Cheers,
FlorianApril 24, 2017 at 10:23 am #1273544CliffMemberYou’re very welcome.
Have a great day.
-
AuthorPosts
- The topic ‘Creating an archive of events that have passed’ is closed to new replies.