Title: ToolDocs
Author: fmgconsultants
Published: <strong>2026 年 5 月 26 日</strong>
Last modified: 2026 年 5 月 27 日

---

搜索插件

![](https://ps.w.org/tooldocs/assets/banner-772x250.png?rev=3549574)

![](https://ps.w.org/tooldocs/assets/icon-256x256.png?rev=3549574)

# ToolDocs

 作者：[fmgconsultants](https://profiles.wordpress.org/fmgconsultants/)

[下载](https://downloads.wordpress.org/plugin/tooldocs.0.9.9.zip)

 * [详情](https://cn.wordpress.org/plugins/tooldocs/#description)
 * [评价](https://cn.wordpress.org/plugins/tooldocs/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/tooldocs/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/tooldocs/#developers)

 [支持](https://wordpress.org/support/plugin/tooldocs/)

## 描述

ToolDocs is a document management plugin for WordPress that lets you upload, organize,
and share documents with your visitors through direct permalinks.

**Key Features:**

 * Upload and manage PDF, Word, Excel, ZIP, and other file types
 * Add external URLs as managed documents
 * Organize documents into categories
 * Generate direct permalink URLs for each document
 * Embed document download links using shortcodes
 * Track download counts and view per-document download history
 * Export download statistics to CSV (summary, by day, by week, by month)
 * File version history with configurable retention (0-4 versions)
 * File usage detection across your site
 * Customize shortcode icon color
 * Font Awesome icon support with customizable file type icons
 * Modern Vue.js admin dashboard
 * Developer-friendly with filters for customization

**Shortcodes:**

 * `[tooldocs_file id="X"]` – Display a single document download link with file 
   type icon
 * `[tooldocs_category_files category_id="Y"]` – Display all documents in a category,
   with optional modal popup

**How It Works:**

 1. Upload documents through the ToolDocs admin panel or add external URLs
 2. Organize them into categories
 3. Use shortcodes or direct URLs to share documents on your site
 4. Track downloads and export reports

### Development

The admin interface is built with Vue.js. Source code is included in the `admin/
src/` directory.
 Frontend JavaScript source is in `front/`.

To build the admin interface:
 1. Navigate to the `admin/` directory 2. Run `npm
install` 3. Run `npm run build`

To build the frontend JavaScript:
 1. Navigate to the `front/` directory 2. Run `
npm install` 3. Run `npm run build`

## 屏幕截图

[⌊Admin dashboard - Manage your documents⌉⌊Admin dashboard - Manage your documents⌉[

Admin dashboard – Manage your documents

[⌊Category management - Organize files into categories⌉⌊Category management - Organize
files into categories⌉[

Category management – Organize files into categories

[⌊Download history - View document download history⌉⌊Download history - View document
download history⌉[

Download history – View document download history

[⌊Settings panel - Configure upload directory, Font Awesome, and colors⌉⌊Settings
panel - Configure upload directory, Font Awesome, and colors⌉[

Settings panel – Configure upload directory, Font Awesome, and colors

## 安装

 1. Upload the `tooldocs` folder to the `/wp-content/plugins/` directory, or install
    directly through the WordPress plugins screen.
 2. Activate the plugin through the “Plugins” screen in WordPress.
 3. Navigate to the ToolDocs menu item in your admin sidebar to start uploading documents.

## 常见问题

### What file types can I upload?

ToolDocs uses WordPress native MIME type detection, so any file type allowed by 
your WordPress configuration can be uploaded. This includes PDF, DOC, DOCX, XLS,
XLSX, PPT, PPTX, ZIP, and many more.

### Where are uploaded files stored?

By default, files are stored in `wp-content/uploads/tooldocs/`. You can change this
in the ToolDocs settings, but the path must remain within `wp-content/uploads/`.

### How do I embed a document link on a page?

Use the `[tooldocs_file id="X"]` shortcode, replacing X with the document ID shown
in the ToolDocs admin panel. You can also use `[tooldocs_file id="X" link_text="
Custom Text"]` to set custom link text.

### Can I display all documents in a category?

Yes. Use the `[tooldocs_category_files category_id="Y"]` shortcode, replacing Y 
with the category ID. By default, files display in a modal popup. Set `modal="false"`
to display them inline.

### Can I track how many times a document has been downloaded?

Yes. ToolDocs automatically tracks download counts for each file. You can view per-
document download history in the admin panel and export download statistics as CSV
files with daily, weekly, and monthly breakdowns.

### Can I add external URLs as documents?

Yes. You can add external URLs as managed documents. They receive their own permalink
and can be organized into categories just like uploaded files.

### Does this plugin require any external services?

No. ToolDocs works entirely within your WordPress installation with no external 
service dependencies.

### How does Font Awesome work with this plugin?

The plugin bundles a minimal subset of Font Awesome Regular icons for file type 
display. If your theme or another plugin already loads Font Awesome, the plugin 
detects this and skips loading its own copy to avoid conflicts. You can disable 
the plugin’s Font Awesome loading entirely in ToolDocs settings.

### What is the difference between ToolDocs and ToolDocs Premium?

ToolDocs provides document management with direct download links. ToolDocs Premium
adds gated document access, user registration forms, login system, email notifications,
bot verification, session tracking, and more.

## 评价

此插件暂无评价。

## 贡献者及开发者

「ToolDocs」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ fmgconsultants ](https://profiles.wordpress.org/fmgconsultants/)

[帮助将「ToolDocs」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/tooldocs)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/tooldocs/)，查看[SVN仓库](https://plugins.svn.wordpress.org/tooldocs/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/tooldocs/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/tooldocs/)。

## 更新日志

#### 0.9.9

 * Excel export of download statistics replaced with native CSV (ZIP of summary,
   by-day, by-week, by-month, and detailed CSVs). Single-file download history exports
   now produce a CSV file. Removes the OpenSpout dependency entirely.
 * Removed legacy `[td_file]` and `[td_category_files]` shortcodes. Use `[tooldocs_file]`
   and `[tooldocs_category_files]` instead.
 * Tightened REST upload permissions: `/upload`, `/upload/external`, and the document
   replace endpoints now also require the `upload_files` capability.
 * Hardened shortcode output: filter-provided icon HTML is now sanitized through`
   wp_kses()` with a tight SVG-aware allowlist.
 * Removed the `ini_set('memory_limit', '256M')` raise from the document download
   template; the chunked 8 KB stream keeps memory usage bounded without it.
 * Added the public source repository URL to the readme Development section.

#### 0.9.7

 * Initial release.

## 额外信息

 *  版本 **0.9.9**
 *  最后更新：**2 周前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.8 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 8.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/tooldocs/)
 * 标签
 * [document management](https://cn.wordpress.org/plugins/tags/document-management/)
   [documents](https://cn.wordpress.org/plugins/tags/documents/)[downloads](https://cn.wordpress.org/plugins/tags/downloads/)
   [file manager](https://cn.wordpress.org/plugins/tags/file-manager/)[shortcodes](https://cn.wordpress.org/plugins/tags/shortcodes/)
 *  [高级视图](https://cn.wordpress.org/plugins/tooldocs/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/tooldocs/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/tooldocs/reviews/)

## 贡献者

 *   [ fmgconsultants ](https://profiles.wordpress.org/fmgconsultants/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/tooldocs/)