New answers tagged

2 votes
Accepted

Get entries with a specific post date

You’d need to define a range that begins today and ends tomorrow. {% set startDate = startDate ?? now %} {% set endDate = startDate|date_modify('+1 day') %} {% set entries = craft.entries() ....
user avatar

Top 50 recent answers are included