Overview
The CMS Downloads Manager is a standalone, site-wide file delivery system. It is independent of the e-commerce order download system — no purchase is required to access a CMS download. Files are embeddable on any public CMS page or product description using a shortcode.Admin Routes
File Source Types
Each download record uses one of four source types:Pre-signed S3 URLs are time-limited to the configured TTL (default 1 hour). No AWS credentials are ever exposed to the browser — the signed URL grants temporary access only.
Shortcode Syntax
Rendering — Four Output Modes
The rendering engine inspects the file extension (and theforce_download flag) to determine which output mode to use:
Mode A — Inline Image
Triggered by:png, jpg, jpeg, gif, bmp, webp, svg, tif, tiff
Renders a responsive <img> tag with the file as the src. Poster art is displayed if configured.
Mode B — Video.js Player
Triggered by:mp4, webm, mov, qt — and force_download = false
Renders a fully responsive Video.js video player with optional poster art support. The player is mobile-friendly and adapts to container width.
Mode C — Video.js Audio Player
Triggered by:mp3 — and force_download = false
Renders a Video.js audio player UI. Supports poster art as a visual thumbnail.
Mode D — Styled Download Link
Triggered by: All other file types (PDF, ZIP, DOCX, EXE, CSV, etc.) or any file type withforce_download = true
Renders a styled anchor link with a file-type icon. See the File Type Icon System below.
File Type Icon System
Icons are provided by the file-icon-vectors library (v1.0.0 via jsDelivr CDN). Three icon packs are available:Icon Position
Controlled by theshow_icon field on the download record:
Global Icon Pack Setting
Set the default icon pack for all CMS Downloads at: Admin → Settings → CMS Downloads →file_icon_pack
Individual records can override this at the record level.
