Show event on current day in calendar query

I use this line for displaying an evenlist, and it works great:

 <Loop type=show count=5 custom_date_field=tour_date  status=publish custom_date_field_compare=after custom_date_field_value=current orderby=tour_date order=asc>
      <If acf_date=tour_date  after=today > 

But the only thing is that the event of the current day dissapears. (While it still should be visible for the current day).

How can I change the query, so the event dissapears after the current day, instead of on the current day?

You could try custom_date_field_compare=after_inclusive.

It’s documented here, under Query parameter → Custom fields.

1 Like

Hi Elliot,
Thanks, that is what I need.