Filter a document library by file type or author Free

Let visitors narrow a library to PDFs, Word, Excel or PowerPoint files, images, audio or video, or to one person's documents, with the free file type and author filters.

Updated October 29, 2026

A library that mixes forms, spreadsheets, slide decks and recordings is easier to use when visitors can say "just the spreadsheets". The file type filter lists the kinds of file the library holds, with a count beside each. The author filter does the same for the people who added the documents.

Free — included in every FileDeck install.

What visitors see

Both work like the category and tag filters (see search, sorting and filters): tick one or more values, see a count beside each, and remove any of them from the bar of active filters. They combine with search and every other filter, and the filtered view has its own address, so you can link straight to "all the PDFs from 2025".

  • File type groups files the way people think of them: PDF, Word, Excel, PowerPoint, Image, Audio, Video, Archive, Text, Link (a document that points to an address rather than a file) and Other. Only the types the library holds are listed.
  • Author lists the WordPress display names of the people who added the documents. It shows display names only, not usernames or email addresses — but WordPress uses the username as the display name until someone changes it under Users → Profile → Display name publicly as, so check what yours show before turning this on.

Neither filter appears until there are at least two values to choose between, so a library of only PDFs shows no file type filter.

Turn them on

Both are off by default.

  • One library: under Search and filters in the Document Library block or the library builder, or with the switches in the Elementor Library widget.
  • Shortcode: [filedeck show_type_filter="1" show_author_filter="1"].
  • Every library: Documents → Settings → Features.

With Filter position set to Under the column headings, they sit under the Type and Author columns.

Counts and access

Counts follow the same rule as the category counts: a count matches the rows the visitor will see. A restricted document shown as a locked row is counted; with hide_protected it is not, and documents in client areas are not counted.

FAQ

Can I pin a library to one file type without showing a filter?

Not with an attribute yet; use a category for that. The filter is for letting visitors choose.

Does the file type filter work on large libraries?

Yes. Libraries past about 500 documents switch to server mode, and the filter works there the same way, with counts computed by your server.

Still stuck? Email support@getfiledeck.com.