Limiting the number of events to display but showing all events when using date filter

I’ve set Layout → Number of posts to display to 0 in Grid layout because I need to see all events when searching for a period of two months.
However, without the Date filter enabled, I’d like to see only 16 events on the page.

1 Like

Hi there @user11599 and welcome aboard :wave:

I agree that it would be awesome to have this feature available right in the settings. We’ll try to consider this opportunity in the future :slightly_smiling_face:

As for now, you are very welcome to use this CSS code for making all events appear when searching for a period while keeping the number of events 16 on your main page:

.eapp-events-calendar-events-calendar-component:has(.eapp-events-calendar-dates-input:not(.eapp-events-calendar-dates-selected)) .eapp-events-calendar-grid-item:nth-child(n + 17) {
  display: none;
}