Home › Forums › Welcome! › Pre-Sales Questions › Show passed events
- This topic has 5 replies, 1 voice, and was last updated 10 years, 9 months ago by
Geoff.
-
AuthorPosts
-
August 9, 2015 at 11:35 am #994573
Jeroen
GuestHello,
My client likes to have a library of passed events so people can find a past event and read a story about that event and watch a video of it.
So my question is, is there a possibility to store and view passed events along with future events with your plugin?Thank you in advance for your answer.
With kind regards,
JeroenAugust 10, 2015 at 7:14 am #994721Geoff
MemberHowdy Jeroen and thanks for getting in touch!
Definitely. All events are indeed available once they have past and can be accessed by placing this at the end of your calendar’s list view URL: ?tribe_event_display=past
So, for example, example.com/events/list?tribe_event_display=past
That will provide a list of all your past events and allow you to paginate back in time as well.
Does this help answer your question? Please let me know. 🙂
Cheers,
GeoffAugust 12, 2015 at 12:46 pm #995541Jeroen
GuestHi Geoff,
That’s great. Thank you for your fast reply.
I tested it right away and it shows the past events perfectly but is there also a way to show past events in the search results?
So, make a search in all events, past and future at once?Thank you in advance for your answer.
With kind regards,
JeroenAugust 13, 2015 at 7:32 am #995750Geoff
MemberGood question! Past events should be included in the calendar’s search feature by default. For example, the initial search will show upcoming events, but there will be a link at the bottom of the results to view “Previous Events” as well.
And, in case you’re interested, there would be a URL produced that you can link to directly to see those results that follows this pattern:
[your-site]/events/list?tribe_paged=1&tribe_event_display=past&tribe-bar-search=[your-search-term]
Is that what you were looking for? Feel free to let me know if you have any other questions and I’d be happy to help. 🙂
Geoff
August 13, 2015 at 8:23 am #995784Jeroen
GuestHi Geoff,
Thank you for your reply.
But no, that’s not what I mean. I had seen the “previous events” button.
I was looking for a way to show them all in one list, so not on seperate pages. Via a display=all variable or something like that.
Ideal would be to be able to set a start and end date for the list of events (for example jan 1st 2011 – jan 1st 2017) and be able to show this list as a whole and to be able to search in this list and show results from the entire list on one page. Or just show every event on one page and show results from searching every event in the database.Is that possible? Via this plug-in, amodification in functions.php or maybe via the regular wordpress search?
August 13, 2015 at 8:39 am #995797Geoff
MemberAh, gotcha. Thanks for clarifying!
Default WordPress search definitely includes both past and upcoming events in the same mix. If you’re looking for both to coexist in the same spot, then that would be the route I’d suggest taking.
Geoff
-
AuthorPosts
- The topic ‘Show passed events’ is closed to new replies.
