Document pages: what each document's own page shows Free

Every document has its own page. Show the document itself on it, list the details you choose above the Download button, and end it with related documents.

Updated October 29, 2026

Every FileDeck document has a page of its own at its own address. It’s the page a library’s titles link to (unless you’ve set titles to download directly or show as plain text, see styling), the page search engines list, and the page people share. It shows the document’s description, then a short list of details, then the document itself when it can be previewed, then the Download button with the file’s type and size beside it.

Free — included in every FileDeck install.

Choose the details

Go to Documents → Settings → Display → Document pages and tick the details to list:

  • Reference: the document’s code or part number (see reference numbers)
  • Published date and Updated date
  • Categories, each linking to that category’s page, and Tags
  • Author and Download count: both off until you tick them, since publishing a name or a number is your call

Reference, both dates, categories and tags are ticked to begin with. The file’s type and size aren’t part of this list: they sit beside the Download button.

What gets left out

A detail the document doesn’t have is left out rather than shown blank, so an untagged document has no Tags row. "Updated" only appears once the document has changed on a later day than it was published, so a document edited on the day it went up doesn’t show the same date twice. Untick everything to drop the list.

Who sees the details

The list appears for visitors who can open the document. A restricted document’s page says it’s restricted, a password-protected document asks for its password first, and a document that has expired says it’s no longer available; none of them list details or show a Download button.

Show the document on its page

The page can show the document itself under its details, so a visitor can read a PDF without downloading it. Go to Documents → Settings → Display → Document preview, tick Show the document itself on its page, under the details, and set a height in pixels (800 to begin with). New installs start with it on; on a site that already had FileDeck it stays off until you tick it, so existing pages don’t change on their own.

The preview uses the same viewer as the Document Embed block and your Document viewer setting:

  • Free: PDFs, images, and linked Google Docs, Sheets, Slides and Drive files.
  • Pro: Word, Excel and PowerPoint files, audio and video too, and PDFs in the FileDeck viewer with bookmarks and page thumbnails.

A document that can’t be previewed, like a zip file, just shows its Download button. So does a document that asks something of the visitor before they get the file: when a lead form, terms or another download check applies, or the document is view-only or watermarked, the page leaves the preview out so the file only comes through that step.

Let visitors ask for an accessible version

Switch on Documents → Settings → Display → Accessible versions and each document page offers a Request an accessible version link under its Download button. See accessible version requests.

Tick Documents → Settings → Display → Related documents and each document page ends with a short Related documents list: documents in the same category first, then documents with the same tag. Visitors only see documents they can open. The same list is available anywhere as the Related order of the Popular Documents block and as the FileDeck: Related Documents sidebar widget; on a blog post, they list documents related to the ones placed in that post.

On a block theme

Block themes such as Twenty Twenty-Five build every page from a template, and without one for documents they use their blog-post template: a "Written by" byline, post tags, links to the previous and next post, a comment form and a list of more blog posts. FileDeck adds a Single Document template for document pages instead: the title, then the details, the preview and the Download button. Edit it like any other template under Appearance → Editor → Templates; a template your theme ships for documents takes its place. It needs WordPress 6.7 or later, and classic themes keep their own single-post layout. Developers can turn it off with the filedeck_document_template filter.

Change how the list looks

The list is a definition list with the class fdk-single-details, so you can restyle it with CSS. To change its markup, override the document-details.php template in your theme. Developers can add or remove rows with the filedeck_single_details filter.

FAQ

Can the page show how many times a document was downloaded?

Yes. Tick Download count under Document pages. It’s off by default.

Why doesn’t my document show an Updated date?

"Updated" appears only when the document changed on a later day than it was published. Edit it on a later day and the date shows.

Does this change my libraries?

No. These settings only change each document’s own page. What a library shows is set by its columns.

Still stuck? Email support@getfiledeck.com.