Home › Forums › Calendar Products › Events Calendar PRO › Make past events the default list on Events page
- This topic has 3 replies, 2 voices, and was last updated 7 years, 7 months ago by
bigdot.
-
AuthorPosts
-
August 8, 2018 at 4:12 am #1592751
bigdot
ParticipantIs 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.
August 9, 2018 at 5:49 pm #1594362Victor
MemberHi 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!
VictorAugust 10, 2018 at 6:19 am #1594625bigdot
ParticipantHi,
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?
August 13, 2018 at 5:23 am #1595964Victor
MemberHi!
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,
VictorSeptember 4, 2018 at 9:35 am #1613167Support 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 ‘Make past events the default list on Events page’ is closed to new replies.
