→ Time Since

The Time Since facet is used to filter posts by date / time since a specified interval.

facet-type-time-since

Setup

  • Data Source: A date; “Post Date”, “Post Modified”, or a custom field in YYYY-MM-DD format
  • Choices: the choices to display (one per line). The label and formatter are separated by “|”. Example:
Past Day | -1 day
Past 7 Days | -7 days
Past 30 Days | -30 days
Past 90 Days | -90 days
Past Year | -1 year
Past 5 Years | -5 years

The formatter is based on PHP’s strtotime function (see example).

Changelog

1.3.1

  • 2.6 compatibility fixes
  • Fixed User Selections label

1.3

  • Automatic updates!
  • IMPORTANT: before upgrading, please delete the older version

Details

  • Version: 1.3.1
  • Updated: Sep 7, 2016

Get Started

Download now