Support

Home Forums Event Espresso Premium Recurring Event Showing All Events

Recurring Event Showing All Events

Posted: April 15, 2013 at 8:19 pm

Viewing 6 reply threads


SocialiteVIP

April 15, 2013 at 8:19 pm

I have 4 events. Thursday, Friday, Saturday, Sunday Night for up to a year. It’s the same event for every week. But I do not want to show all of them. I just want to show one of each. When one ends it shows the next week event? How do I do this as it looks like it just duplicated it. Thank You


Jonathan Wilson

April 16, 2013 at 2:54 pm

Hello,

Have you tried using this shortcode? It should only list the first of each event in the series.

[EVENT_LIST show_recurrence=false]


SocialiteVIP

April 16, 2013 at 3:37 pm

Just tried it and it says no events available now?


Chris Reynolds

  • Support Staff

April 17, 2013 at 11:36 am

I think to do what you want, you’ll need to play with the registration start/end dates and tell the Recurring Event Manager to automatically set the registration start/end dates for each occurrence. When you do that, it will base the length of time the registration is open for on what you initially set the registration start/end to be for the first event. So if you want your events to be open for 2 weeks, then you’ll need to have a 2 week window for your first event and let Recurring Event Manager set the reg start/end dates.

By default, those events will still display on the event list even if they aren’t open yet. To change this you’ll need to dig into the event_list_display.php file. On line 34, a variable is set for events that are not open:

$status_display_not_open = $status['status'] == 'REGISTRATION_NOT_OPEN' ? ' - ' . $status['display_custom'] : '';

So wrapped around the event_data <div>, you’d want to add this if statement:

if ( !$status_display_not_open ) {
     // do normal event stuff
}

…which is pretty much the whole rest of that template.


SocialiteVIP

April 17, 2013 at 11:38 am

Do you have any suggestions. Why your suggestion isnt working. How I can fix this? My website is almost complete.


SocialiteVIP

April 17, 2013 at 11:40 am

Thanks Chris I will try it


Jonathan Wilson

April 17, 2013 at 11:56 am

Hi,

Please let us know whether Chris’ suggestions worked for you.

Thanks.

Viewing 6 reply threads

The support post ‘Recurring Event Showing All Events’ 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