Make past events the default list on Events page

Home Forums Calendar Products Events Calendar PRO Make past events the default list on Events page

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1592751
    bigdot
    Participant

    Is it possible to make past events the default view? For example, if my events page was website.com/events, as standard the upcoming events would display first, with a link to view previous events.

    Is it possible to make the default view past events, so going to website.com/events would show events that had already taken place with a link to view future events.

    I know it is possible to do this with a URL string, but since we want to make the events page the homepage we need to keep it clean. Also, we want the filter bar to work so we can’t just put a shortcode in a standard page.

    Please advise.

    #1594362
    Victor
    Member

    Hi There!

    Thanks for reaching out to us!

    Unfortunately, there is no built-in functionality to show past events by default.

    It could possibly be achieved but will certainly require some custom coding. However, this is a custom development task and so is outside of our stated scope of support.

    With that being said, we’d love to help point you in the right direction.

    I’d recommend starting off by taking a look at our Themer’s Guide, which can show you which templates can be edited and copied in order to attempt the results that you are looking for.

    If you’d prefer not to tackle this customization on your own, we may be able to assist you further. We do need to prioritize support requests from other customers at this time but I’ll certainly flag this with the team and – although we can’t make any promises – if we have time and space to come back and help, we’ll be happy to do so.  Please let us know if you’d like to go this route so that you can be added to this queue.

    If you urgently need help with this, however, you may instead wish to consider working with a suitably skilled developer or designer who can offer the additional level of support you require.

    Thanks!
    Victor

    #1594625
    bigdot
    Participant

    Hi,

    We’ve managed to achieve the functionality but it involved modifying /plugins/events-calendar-pro/src/Tribe/Templates/Map.php

    Do you know if there’s a way to bring this into the theme directory like with the /views files?

    #1595964
    Victor
    Member

    Hi!

    Thanks for following up with this.

    Good to know you could achieve that. As you might already know, modifying core plugin files is not a good practice as they will get overwritten with every update.

    There is no default way to make a template override of that file you changed, but it may be possible to create some custom coding that use the available actions and filters in there. Have you tried using any of the available hooks (actions/filters) to accomplish that customization?

    Let me know about it.

    Best,
    Victor

    #1613167
    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 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Make past events the default list on Events page’ is closed to new replies.