Files Download Delay plugin wraps file download links with customizable layout which allows you to show any kind of content. For example, while users are waiting for download, you can show them email subscription form, feedback form, related content or even ads.
Download links can be wrapped automatically based on conditions (file extension, element class) or manually using the shortcode
[fddwrap]<a href="path/to/file.pdf">Download</a>[/fddwrap]
.
Features which you can easily customize:
- delay time in seconds before download happens,
- text fields and html content shown to user during countdown and when timer is finished,
- content when download is failed (e.g., when file is missing)
- layout appearance (shadow, curved edges, colors, etc.)
- auto-wrap options (custom list of file extensions or/and element's class)
Suitable to wrap any type of content including documents (xlsx, docx, pdf,...), media (wav, mp3, mp4,...) or archives (zip, rar, tar.gz,...) - no limits here.
How to use:
- Install the plugin and go to the settings
- In the section Display settings replace built-in messages to any content you wish to show to your users
- Enable auto-wrap toggle in the corresponding section, or enable timer in the Gutenberg editor (see block's settings for "File" block) or wrap a download link using this shortcode
[fddwrap]link here[/fddwrap]
.
- Open just edited article and click on the file download link
- At this point should be able to see a countdown timer under the download link you just clicked