Tell us what you are trying to do?
Show the events with conditional 'Startdate >=Now'
That's working oké but it leaves a gap in the grid where there was an event before the date. (Notice: I just started with this so there are no other old events).
Is there any documentation that you are following?
There is no documentation on this
Is there a similar example that we can see?
I don't know
What is the link to your site?
hidden link
I work with Divi and Toolset. All the most recent versions.
Hi,
Thank you for contacting us and I'd be happy to assist.
Those gaps are expected since the view brings in 'all' the posts and shows them in the grid layout. Even though, the conditional block only shows the inner content for the posts where the 'Startdate' is greater than or equal to 'Now', this doesn't hide the grid container for the posts, which don't meet this condition. As a result, their empty grid containers are still visible.
A better option, in this case, would be to remove the conditional block from the loop and instead add a query filter for the same condition, through the view's content selection settings.
( as shown in the attached screenshot )
This way, the view will only bring in the posts which meet the criteria and you won't have to use the conditional check inside the loop.
I hope this helps and please let me know if you need any further assistance around this.
regards,
Waqar
Super! Resolved, thank you!