Support

Home Forums Event Espresso Premium Expired event archiving

Expired event archiving

Posted: June 22, 2017 at 12:03 pm

Viewing 6 reply threads


davidmambopro

June 22, 2017 at 12:03 pm

When will functionality for archiving past events be included in this program? It seems a bit unbelievable that it doesn’t have have this functionality already. This program does everything really great, however, currently the only way for a past event not to show up on my website is to “trash” it in the EventEspresso back end? Come on guys; very mickey mouse. A business needs to be able to go back and reference information in past events and it’s very disconcerting to have these past events just sitting in the “trash” bin indefinitely. If I’m wrong about this, please let me know …..but all my searches came up empty with regards to archiving past events.


Josh

  • Support Staff

June 22, 2017 at 12:27 pm

Hi there,

You shouldn’t need to trash events to prevent them from displaying on your website. Normally past events shouldn’t be listed anywhere on the front end unless a setting was changed to explicitly tell it to do that.

Can you explain a bit about how past events are showing up on your website? There’s likely a way to remove those that doesn’t involve anything to do with trashing events and we can help you with that.


davidmambopro

June 22, 2017 at 6:15 pm

Hi Josh,

Thanks for responding. If you go to the registration page on my site: http://mambopro.com/class-registration/, then click on “2017 Winter Session Classes….” for example; you will see that there are two expired events from January & February that still show up. It will be the same for any other of the categories that contain past events.
If there are settings that control this, I am unaware of them. Incidentally,I am using the most recent versions of WordPress and Event Espresso. Thanks.


Josh

  • Support Staff

June 22, 2017 at 7:31 pm

May I ask is that a custom-developed template or shortcode to display the list of events there? That doesn’t look like an event list generated by the Event Espresso plugin.

Anyway, your custom list may still work with the setting that controls this. You go to Event Espresso > Events > Templates and under the Event List Pages heading you’ll see an option that says “Display Expired Events” and you can set that option to No.


davidmambopro

June 22, 2017 at 11:36 pm

Yes, it is a custom developed WordPress template. I found the setting you suggested, thank you for that ……I did not notice this setting before. However, the setting didn’t seem to have any effect on my expired events. I guess it must have something to do with the custom template? Unless you have any other suggestions, I will contact the gentlemen who coded it for me to see if he can offer a solution. Thanks.


Josh

  • Support Staff

June 23, 2017 at 11:30 am

So they probably used a custom query to build that event list, and their custom query doesn’t exclude expired events. They should be able to modify that query. If they’re curious to see how the Event Espresso plugin excludes expired events they can review the source code here:

https://github.com/eventespresso/event-espresso-core/blob/master/core/CPTs/EE_CPT_Event_Strategy.core.php


davidmambopro

June 23, 2017 at 11:44 am

Thank you Josh, I will let him know.

Viewing 6 reply threads

The support post ‘Expired event archiving’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso