Posted: December 8, 2020 at 9:35 am
I’m using the below query to display 5 upcoming events.
The events are displaying as expected but any code below the page is not displaying.
After removing while loop, the content displays below.
Can you please advise on how to retain the loop but display any code below?
May I ask why you are overriding the global
Does it work for you then?
Thank you for getting back to me.
I found the code somewhere (maybe stack overflow?)
Brilliant, thank you, that’s worked.
Yeah, so the reason it wasn’t working is your overriding the global
So then when you reset above your resting the
Anyway, just a quick explanation on what I think was happening, I’m glad the above worked for you 🙂
The support post ‘Page breaking after event 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.