Filter a library by when documents were added Free
Add an Any time / Past week / month / year control so visitors can narrow a long library down to what arrived recently.
Updated August 29, 2026
On a library that has been running a while, "what’s arrived lately" is a common question and a hard one to answer by scrolling.
Switch on Documents → Settings → Display → Show a "date added" filter and a control appears with the library’s other filters:
- Any time
- Past week
- Past month
- Past 3 months
- Past year
It is off by default — turning a new control on for every existing library without being asked is a change nobody requested.
Per library
The shortcode takes it too, so one library can have the filter while others do not:
[filedeck show_period_filter="1"]
You can also pre-filter a library without showing the control, by passing a number of days:
[filedeck period="30"]
That renders a library of documents from the last 30 days — useful for a "recent additions" block on a home page.
Why periods rather than two date pickers
A from/to pair asks the reader to know the answer before they search. "Anything from the last month" is the question people actually have, it needs one setting instead of two, and it is one value to keep in step between the two ways a library renders.
Sharing the view
The chosen period is in the URL, so a filtered view can be linked and it opens showing what it says. The reset control clears it alongside the other filters.
A note on dates
The filter uses the document’s published date — when it entered the library — not the date the file itself was made.
Still stuck? Email support@getfiledeck.com.