Document Download block: one document as a button, link or card Free
Put one document anywhere as a download button, a text link or a card with its file type and size, with the free Document Download block or [filedeck_download].
Updated October 29, 2026
Sometimes you don’t want a whole library, just one file: the latest annual report on the home page, a booking form in a blog post, the safety data sheet beside a product. The Document Download block puts one document anywhere, as a download button, a text link, or a small card showing its title, file type and size.
Free — included in every FileDeck install.
Add it
- In the block editor, add the Document Download block.
- Under Choose a document, type part of the document’s title and pick it.
- Choose how it shows: Button, Card with file type and size, or Text link.
- Optionally change the button text (it says "Download" to begin with).
The download goes through FileDeck like any library download, so it is counted, and your access rules, download limits and any download checks you’ve set up all apply.
The shortcode
Classic themes and page builders use the shortcode:
[filedeck_download id="123"]
[filedeck_download id="123" style="card"]
[filedeck_download id="123" style="text" text="Get the form"]
| Attribute | Values | Default | What it does |
|---|---|---|---|
id |
A document ID | — | The document to offer. |
style |
button, card, text |
button |
A button, a card with the file type and size, or a plain text link. |
text |
Any text | Download |
The button or link text. |
Who sees what
A visitor who can open the document gets the button, link or card. A visitor who can’t, because the document is restricted, sees a padlock in its place, exactly as in a library, and the card doesn’t show a restricted document’s title to them.
FAQ
Can it show the document itself instead of a download button?
Use the Document Embed block for that: it shows a PDF, an image or a linked Google file inline, with an optional download link under it.
Is this a Pro feature?
No. The block and the shortcode are in the free plugin. See free vs Pro.
Still stuck? Email support@getfiledeck.com.