Support

Home Forums Event Espresso Premium Display Event only if Registration is Open

Display Event only if Registration is Open

Posted: August 16, 2012 at 2:56 pm

Viewing 4 reply threads


Melissa

August 16, 2012 at 2:56 pm

I am using [EVENT_LIST] to display my events on my pages. I am not using the calendar or any other method to show events to visitors. I have an event registration set for the month of September only (it’s currently August). This event still shows up in the event list even though you can’t register for it. I understand if you view the event page a “you can’t register” message shows, but this seems very unintuitive for a visitor/user thinking if an event has a “Register” button only to find out they can’t actually register yet. How can I disable the event from showing at all unless it falls within the registration dates?


Chris Reynolds

  • Support Staff

August 17, 2012 at 12:02 pm

Have you tried setting show_expired to false?

[EVENT_LIST show_expired=false]

https://eventespresso.com/wiki/shortcodes-template-variables/#event-list


Melissa

August 17, 2012 at 2:37 pm

I added that and my events completely disappear. Does this parameter key off the EVENT START DATE or the REGISTRATION START DATE? I still want to show events if today is within the registration dates.


Chris Reynolds

  • Support Staff

August 20, 2012 at 11:23 am

Registration start/end dates.


Brian Alexander

October 4, 2012 at 12:46 pm

I’m also having a challenge displaying the nearest non-closed (reg still open) event from the list using the shortcode. Here is what I’m using:

[EVENT_LIST limit=1 show_expired=false]

But it still returns the nearest event, even though its registration period has closed. I’ve tried using the order_by option, but sort-wise, the closed event still trumps the next open event.

Any suggestions before I resort to overriding the shortcode? Thanks!

Viewing 4 reply threads

The support post ‘Display Event only if Registration is Open’ 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