Create pages that show all events in one year

Home Forums Calendar Products Events Calendar PRO Create pages that show all events in one year

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1214973
    Michael
    Participant

    I’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.

    #1215240
    Geoff
    Member

    Hey 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!
    Geoff

    #1215544
    Michael
    Participant

    Geoff, 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!

    #1215767
    Geoff
    Member

    Hi 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:

    Using tribe_get_events

    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,
    Geoff

    #1216805
    Michael
    Participant

    Thanks 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?

    #1216887
    Geoff
    Member

    Hey 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!
    Geoff

    #1217197
    Michael
    Participant

    Geoff, 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.

    #1217342
    Geoff
    Member

    Shoot, 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!
    Geoff

    #1228934
    Support Droid
    Keymaster

    Hey 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

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Create pages that show all events in one year’ is closed to new replies.