這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Files Download Delay

外掛說明

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:

  1. Install the plugin and go to the settings
  2. In the section Display settings replace built-in messages to any content you wish to show to your users
  3. 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].
  4. Open just edited article and click on the file download link
  5. At this point should be able to see a countdown timer under the download link you just clicked

螢幕擷圖

  • The countdown when user is trying to download a file
  • Extended configuration options of the “File” block in the editor
  • Auto-wrap options on the plugin’s settings page

常見問題集

Auto-wrap isn’t working

Please double-check that the toggle is ON in the plugin settings and you did add file extensions in the corresponding field.

If your download links don’t have file extensions (ex: domain.com/files/download?name=magicfile) make sure that <a> element or its parents have some class like <a class="magic-class">. Add this class to the corresponding field in auto-wrap settings.

使用者評論

2023 年 1 月 19 日
Не работает скачивание. Плагин активирован, расширение .exe добавлено. При включении автоматического оборачивания и попытке скачать файл, он просто скачивается, без открытия окна с задержкой. При оборачивании ссылки в шоткод и попытке скачивания файла – открывается окно с задержкой, идет отсчет после чего пишет, извините, файл не найден. wp 6.1.1 PHP 7.2
2022 年 12 月 28 日 1 則留言
При попытке открыть настройки просто пишет, что “Загружает страницу” и на этом ничего не происходит. Google Chrome и Opera не имеет значения
2022 年 9 月 1 日
После перехода в настройки плагина бесконечное окно “Загружаем интерфейс”. Последняя вервия WP брайзер Mozilla
閱讀全部 5 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Files Download Delay〉的開發相關工作。

參與者

〈Files Download Delay〉外掛目前已有 5 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Files Download Delay〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.9

  • Fixed file existence check error (CORS)
  • Added an option to enable/disable file existence check
  • Added auto-download when link is opened in new tab and timer is ran out

1.0.8

  • Fixed “unknown class” error on activation
  • Fixed infinite loading on settings screen

1.0.7

  • Minor security fixes

1.0.6

  • Removed Freemius libs & premium version

1.0.5

  • Vulnerability fixes

1.0.4

  • Countdown timer will be paused if the tab is not active
  • Security fixes

1.0.3

  • Little Fixes

1.0.2

  • Fixed Description
  • Fixed “New Tab” template styles
  • Added font-color contrast for light/dark timer background color
  • WP Versions Support Extended to 5.5

1.0.1

  • Public Release

1.0

  • Pre-Release