Support

Home Forums Event Espresso Premium Hiding future events until previous ones have expired.

Hiding future events until previous ones have expired.

Posted: January 26, 2017 at 5:41 am

Viewing 4 reply threads


Gaviny

January 26, 2017 at 5:41 am

Hi,

I’m not sure if this is possible but i’ll ask in case it is or someone has done this.

A while back i asked about hiding events that had started two weeks in the past. So after the second session the event would disappear from the listings.

What i would like to know, is it possible to do the opposite? E.G

I have 3 events on mondays and 3 on tuesdays. We’ll call them e1, e2, e3 for both days.

I want to run monday e1 and tuesday e1 until the second session, then when this disappears the next events monday e2 and tuesday e2 display on the website. then the same for e3.

We are wanting to try and keep our students in the same group. We are labelling the events 1,2,3 etc so they know which one to sign up to.

Is this possible? I know i had to add some code before to hide the past events. Does the opposite exist or do would i need a developer for this?

Thanks,

PhilB


Josh

  • Support Staff

January 26, 2017 at 6:57 am

Hi Phil,

You might need a developer for this, but it’s really not clear what you’re looking to do. Are these actually events that you’re trying to hide, or are they ticket options within an event that allow for registering for future date times?

One thing you can look into is the option where you set the “Sale Starts” date for the ticket options to a future date. This way you can control when an event can begin to take registrations.


Gaviny

January 26, 2017 at 7:19 am

Hi,

these are events themselves, not tickets. The page in question is my individual ‘venue’ page where i use the EE events table to show my events.

I’m wanting to set up all 3 sets of events which publish themselves in order once the second session of the first event has been and gone. So if session 2 ends at 14:00 on the 27th January then at 14:01 the second event is published and then displayed.

I did change the sale starts date, but this still populates the event listings with the events i want to hide. It just stops people buying a ticket unfortunately.

I did a bit more reading and in all honesty i completely forgot the fact that WordPress will let me schedule when a post is published.

But i reckon if i use WordPress’s built in post scheduler and set my second and third event to start in the same way mentioned further up this post, then they would in theory remain in the draft posts until it gets to the right date and time. Which would do fine, it only really add’s one extra thing i need to consider when posting. which is just remembering the end time for one event and setting it as the publish time.

Hopefully that makes a bit more sense.

Thanks Josh,

PhilB


Josh

  • Support Staff

January 26, 2017 at 8:10 am

You’re correct, the built-in WordPress post scheduler will let you have control over when those events posts begin to display.


Gaviny

January 27, 2017 at 2:12 am

Fantastic. Thanks Josh.

Viewing 4 reply threads

The support post ‘Hiding future events until previous ones have expired.’ 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