Support

Home Forums Event Espresso Premium How to hide past events on the My Events shortcode Reply To: How to hide past events on the My Events shortcode

Reply To: How to hide past events on the My Events shortcode

Author Replies
Tony # Posted on May 2, 2018 at 11:22 am

Hi there,

To remove expired events you can add the code mentioned here:

https://eventespresso.com/topic/any-way-to-hide-expired-events-in-the-espresso_my_events-shortcode/

Another user recently posted the same question and posted an example of the code here:

https://eventespresso.com/topic/hiding-expired-events-on-user-profile-page/#post-268317

However, the above will change if you want to customize the view, so:

Also if I wanted to customise the entire my events section to get away from the table and style it myself, which template would that be?

All of the template files used for the my events section are from:

\eea-user-intergration\templates\

The exact template depends on what you want to edit, but by the sounds of it your completely changing the output, which will effect all templates, starting from:

\eea-user-intergration\templates\loop-espresso_my_events-event_section.template.php

Note that EE will check for any copies of the current templates in your themes root directory, so you can override the templates by copying them there.

Do NOT follow this link or you will be banned from the site!