→ Date Range

Overview

Filter content by start date, end date, or both.

date-range

Available Options

Name Description
Other data source Use this setting if you want to use a separate value for the End Date
Compare type Basic: selected values must be entirely in range
Intersect: selected values must be at least partially in range
Fields to show “Start + End Dates”, “Exact Date”, “Start Date”, or “End Date”
Display format The front-facing date format. See the available date format characters

Notes

Make sure custom field values are stored as YYYY-MM-DD or YYYY-MM-DD HH:MM:SS. Otherwise, use the facetwp_index_row hook to format the value for indexing.