[WordPress] 外掛分享: WaltersWorks File Library

首頁 › 外掛目錄 › WaltersWorks File Library
全新外掛
安裝啟用
—
尚無評分
11 天前
最後更新
—
問題解決
WordPress 6.0+ PHP 7.4+ v1.0.0 上架:2026-11-18

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WaltersWorks File Library」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

WaltersWorks File Library gives your site a small, dependable library of downloadable files. Add a file, put it in one or more categories, and list a category anywhere with a shortcode.
It is also a drop-in replacement for the Better File Download plugin. It reads the same data, supports the same shortcodes, and keeps old /bfd_download/{name}/ links working, so you can switch without re-entering anything or editing your pages.
Features

A Downloads screen in the admin, with a File column and a category filter.
Upload a file or choose one from the Media Library.
[wwfl_category] lists every file in a category, newest first.
[wwfl_file] links to a single file.
PDFs open in the browser. Other file types download.
Clean, accessible list markup that inherits your theme’s styles.
Purges W3 Total Cache, WP Super Cache, WP Rocket and LiteSpeed Cache after a change, so visitors see new files right away.
Never deletes your data. Deactivating or deleting the plugin leaves every file and category in place.

Security
WaltersWorks File Library refuses script and executable files, so a Download can’t be used to put a program or web page on your site. It checks:

The file’s extension, including double extensions such as report.php.pdf.
Disguised names: right-to-left override and other hidden characters, control characters, colons, and names ending in a dot or space.
The file’s contents, so a program renamed to invoice.pdf is still caught.

When a file is refused, or an upload fails because of a size limit or a server problem, WaltersWorks File Library says what went wrong and how to fix it. These checks apply only to Downloads. Uploads anywhere else on your site are unchanged.
Shortcodes
List the files in a category:
[wwfl_category category="reports"]

Options:

category (required): the category’s slug.
latest: show only this many files. Default: all.
orderby: date, title or menu_order. Default: date.
order: DESC or ASC. Default: DESC.

Link to one file:
[wwfl_file id="123"]

Options:

id (required): the Download’s ID, shown in the address bar when you edit it.
title: link text. Default: the Download’s title.

Better File Download’s [download_category] and [download] shortcodes work the same way, so existing pages need no changes. WaltersWorks File Library only registers them when no other plugin already uses those names.

延伸相關外掛

文章
Filter
Mastodon