Date Range
Overview
Filter content by start date, end date, or both.
Available Options
Name | Description |
---|---|
Other data source | Use this setting if you want to use a separate value for the End Date |
Compare type | This setting appears when Other data source is in use
Basic: the post’s range is inside the user-selected 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.