Home › Forums › Welcome! › Pre-Sales Questions › View all events (list)
- This topic has 4 replies, 2 voices, and was last updated 10 years ago by
Support Droid.
-
AuthorPosts
-
April 20, 2016 at 5:13 am #1104765
Mark
GuestHi,
I need to show all events in list mode, all past and upcoming, in the same page.
I’ve found that you talk about “all events list” in your documentation but I can’t find it in the plugin. Is it a pro feature?
BR,
Mark.April 20, 2016 at 3:44 pm #1105119Brook
ParticipantHowdy Mark,
This is certainly possible, assuming you don’y have so many events your server will struggle to deliver them all at once.
Basically the easiest way to do this is to first set the “Number of events to show per page” to a high number such as 999. (WP-Admin > Events > Settings) Then from the front-end list view use the Events In datepicker to choose a past date, a date before you added any events. And there you have it, all events past and present on one page. Through the use of snippets you can even set the Events In datepicker to default to this past date.
In short, you shouldn’t need Pro you’ll just need to do the above. Does that all make sense? Will that work for you? Please let me know.
Cheers!
– Brook
April 21, 2016 at 9:56 am #1105499Mark
GuestThanks for your answer Brook, but I’d like to have pagination too (I assume that in a future there will be a lot of events).
I just don’t want the separation between past and future, for example view all the last 10 introduced events, and then pagination. Is this available in pro version?
Best regards,
Mark.April 21, 2016 at 2:59 pm #1105683Brook
ParticipantOh I see. I am sorry I mistook your wanting them all on one page to mean no pagination. Well then simply prefilling the datepicker is all you will need.
https://gist.github.com/elimn/d034dfddb9be206d9cc1
That snippet actually does change the default date for you. Again, just set it to something in the past, before any events, and it will show all events from that date forward (with pagination). Pro is not required, although if you do need support for it you still might want a license so you can get the support from us. Of if you’re patient checkout WordPress.org: The Events Calendar for some free volunteer support.
Does that answer your question?
Cheers!
– Brook
May 6, 2016 at 9:35 am #1111538Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘View all events (list)’ is closed to new replies.
