I’m trying to skip over events that are marked as cancelled or postponed on one specific loop on the home page. This is how I’ve set up my code so far.
I later reuse these variables/arrays in the template to retrieve the data. I’ve marked one of the events as postponed, but it still shows up in the loop. How can I get around this?
A bit off-topic, but with the way you have that loop set up where it’s pushing new elements onto arrays each time the loop iterates, that may cause some undesired results.
I’m just not sure why you would push to multiple arrays like that.
Viewing 3 reply threads
The support post ‘Hide postponed and cancelled events in Event List Query’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.