Force download files
Last updated: 21 November 2022You can set DOCman to force the download of your documents files rather than displaying them in the browser. This is configurable for DOCman flat list, hierarchical list, tree list and attachments blocks depending on how you are adding these blocks into your content:
- Gutenberg editor: this is available as a parameter in the block settings (Force download all files under the Document options section).
- Shortcodes: you need to add the
force_download
parameter value set to1
, e.g.[docman page_category=123 force_download=1]
.