Filter posts by publish date

To filter posts by publish date, do the following:

  1. Edit a map
  2. Open the widget “List & filter Settings”.
  3. Click on the menu “Search filter settings”.
  4. Scroll down to the section “Posts Publish Date Parameters”.
  5. Select the option “Yes” in the field “Filter posts by publish date”.
  6. In the field “Display status”, choose whether you want to keep that field opened in the filter on page load or not.
  7. Scroll down to the section “Posts publish date parameters” and click on the group field “Datepicker parameters”.
  8. in the field “Title”, enter the title/label to display for that field in the filter.
  9. In the field “Description”, enter the description that will help users to understand how to use this field to filter posts.
  10. Choose an option in the field “Filter by”. The option “Exact date” will show posts published in the selected date. The option “After date” will show posts published after the selected date. The option “Before date” will show posts published before the selected date and the option “Between two dates” will show posts published between the selected dates.
  11. Choose the date format of the datepicker in the field “Date format”.
  12. In the field “Exclude date attributes” you can remove one or more attributes from the date. For example, to remove the day number from the datepicker, select the option “Day”.
  13. In the field “Start date” you can specify the minimum date of the datepicker. All dates before the start date will be disabled.
  14. In the field “End date” you can specify the maximum date of the datepicker. All dates after the end date will be disabled.
  15. In the field “Start view”, select the start view of the datepicker when loaded. For example, to load the datepicker on years, select the option “Years”.
  16. Select the week start of the datepicker in the field “Week start”.
  17. To automatically open the datepicker on page load, select the option “Yes” in the field “Auto show”.
  18. To append the datepicker in the filter, select the option “Yes” in the field “Inline”.

In the same context