Home › Forums › Calendar Products › Events Calendar PRO › Create pages that show all events in one year
- This topic has 9 replies, 4 voices, and was last updated 9 years, 3 months ago by
Michael.
-
AuthorPosts
-
January 9, 2017 at 12:16 am #1214973
Michael
ParticipantI’m going to use the Events Calendar to manage races and 5ks. We generally operate on a calendar year basis, so I want to be able to show all 2017 events on one page, including not only future events, but also past 2017 events too. Once we start adding events for 2018, I want to be able to show those on another page, keeping the 2017 events around so that they are archived. What’s the best way for a non-coder like me to implement this? I suppose another way of looking at this is that I want a “year view” of races, in list format.
January 9, 2017 at 11:14 am #1215240Geoff
MemberHey Michael,
Great question! We are not inly interested in building a Year View, but it’s something we’re actively working on and hope to get out in a future release. You can find the thread for it in our feature request forum:
https://tribe.uservoice.com/forums/195723-feature-ideas/suggestions/3827250-year-view
I’ll be honest and say we were hoping to get it in our upcoming 4.4 release, but we fell short because of some technical issues.Ā That said, we are indeed working on it and, if you add your vote to the request, you will get a notification when it’s ready. š
Does this help answer your question? Please let me know.
Cheers!
GeoffJanuary 9, 2017 at 8:28 pm #1215544Michael
ParticipantGeoff, glad to see you folks are working on a yearly view. I voted for this feature too. But in the meantime, what can we do to get a yearly view? In the list view, I need to be able to show all events for 2017, even those that have occurred in the past (not just upcoming events). Is there a workaround at this point? Thanks!
January 10, 2017 at 6:58 am #1215767Geoff
MemberHi Michael,
Thanks for following up!
In the meantime, it would take a fair amount of custom development to create a year view. One thing you want to consider, however, is using theĀ tribe_get_events() function on a custom template — that would allow you to create a custom query that fetches events from a specific date range and display them. We have a tutorial with examples to help get you started:
Another idea that might be a little hack-y but could work is to use event categories called “2017”, “2018” and so on, increaseĀ the number of events that display on pages in Events > Settings, then filter the calendar based on the category. For example, you could get a full list of “2017” categorized events at: [your-site]/events/category/2017
Sorry I don’t have more of a concrete solution for you here, but I hope this at least helps answer your questions and gives you something to work with while the feature is being built!
Cheers,
GeoffJanuary 11, 2017 at 11:27 am #1216805Michael
ParticipantThanks Geoff, I might try the hack-y approach for now.
Is there a rough estimate of when the next version of the plugin will be released with year view support?
January 11, 2017 at 1:10 pm #1216887Geoff
MemberHey Michael!
We’re really gunning to have that feature done in Version 4.5, though I cannot guarantee it. That’s our goal, though, and we’re definitely making good strides to make it happen. Either way, you’ll definitely hear about it since you added your vote to the feature request. š
Cheers!
GeoffJanuary 11, 2017 at 10:51 pm #1217197Michael
ParticipantGeoff, using the hacky approach, past events still don’t show in list view. For example:
http://pcrtiming.wpengine.com/races/category/5k/
I have an event in the past on Jan 7 called “Test Race” and its in the category “5k”. It doesn’t show up in the URL above.
January 12, 2017 at 6:35 am #1217342Geoff
MemberShoot, I was hoping that would work but it makes sense that it doesn’t since the plugin is designed to show only upcoming events rather than all events.
Another approach would be the one I mentioned earlier usingĀ tribe_get_events() to construct your custom query. The post I linked to gives examples, but I searched the forums and found another example of a customer who put it to use. That does require some coding, but I believe is ultimately the more solid way to go.
Cheers!
GeoffFebruary 3, 2017 at 8:35 am #1228934Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Create pages that show all events in one year’ is closed to new replies.
